void* _MeshParticleLayout_DefaultNew( Name name ) { /* Variables set in this function */ SizeT _sizeOfSelf = sizeof(MeshParticleLayout); Type type = MeshParticleLayout_Type; Stg_Class_DeleteFunction* _delete = _MeshParticleLayout_Delete; Stg_Class_PrintFunction* _print = _MeshParticleLayout_Print; Stg_Class_CopyFunction* _copy = _MeshParticleLayout_Copy; Stg_Component_DefaultConstructorFunction* _defaultConstructor = _MeshParticleLayout_DefaultNew; Stg_Component_ConstructFunction* _construct = _MeshParticleLayout_AssignFromXML; Stg_Component_BuildFunction* _build = _MeshParticleLayout_Build; Stg_Component_InitialiseFunction* _initialise = _MeshParticleLayout_Initialise; Stg_Component_ExecuteFunction* _execute = _MeshParticleLayout_Execute; Stg_Component_DestroyFunction* _destroy = _MeshParticleLayout_Destroy; AllocationType nameAllocationType = NON_GLOBAL; ParticleLayout_SetInitialCountsFunction* _setInitialCounts = _PerCellParticleLayout_SetInitialCounts; ParticleLayout_InitialiseParticlesFunction* _initialiseParticles = _PerCellParticleLayout_InitialiseParticles; CoordSystem coordSystem = LocalCoordSystem; Bool weightsInitialisedAtStartup = True; PerCellParticleLayout_InitialCountFunction* _initialCount = _MeshParticleLayout_InitialCount; PerCellParticleLayout_InitialiseParticlesOfCellFunction* _initialiseParticlesOfCell = _MeshParticleLayout_InitialiseParticlesOfCell; Mesh* mesh = NULL; Particle_InCellIndex cellParticleCount = 0; unsigned int seed = 0; return (void*)_MeshParticleLayout_New( MESHPARTICLELAYOUT_PASSARGS ); }
void* _MeshParticleLayout_DefaultNew( Name name ) { return (void*)_MeshParticleLayout_New( sizeof(MeshParticleLayout), MeshParticleLayout_Type, _MeshParticleLayout_Delete, _MeshParticleLayout_Print, _MeshParticleLayout_Copy, _MeshParticleLayout_DefaultNew, _MeshParticleLayout_Construct, _MeshParticleLayout_Build, _MeshParticleLayout_Initialise, _MeshParticleLayout_Execute, _MeshParticleLayout_Destroy, _PerCellParticleLayout_SetInitialCounts, _PerCellParticleLayout_InitialiseParticles, _MeshParticleLayout_InitialCount, _MeshParticleLayout_InitialiseParticlesOfCell, name, False, 0, /* cellParticleCount */ 0 /* seed */ ); }