GAS_SeedParticles Class Reference

#include <GAS_SeedParticles.h>

Inheritance diagram for GAS_SeedParticles:

GAS_SubSolver SIM_Solver SIM_OptionsUser SIM_Data

List of all members.

Public Member Functions

 GET_DATA_FUNC_S (GAS_NAME_SURFACE, SurfaceName)
 GET_DATA_FUNC_S (GAS_NAME_GEOMETRY, GeometryName)
 GETSET_DATA_FUNCS_I ("particlepervoxel", ParticlePerVoxel)
 GETSET_DATA_FUNCS_F ("particlesize", ParticleSize)

Protected Member Functions

 GAS_SeedParticles (const SIM_DataFactory *factory)
virtual ~GAS_SeedParticles ()
virtual bool solveGasSubclass (SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep)
void seedParticles (GU_Detail *gdp, const SIM_ScalarField *surface)


Detailed Description

Definition at line 33 of file GAS_SeedParticles.h.


Constructor & Destructor Documentation

GAS_SeedParticles::GAS_SeedParticles ( const SIM_DataFactory factory  )  [explicit, protected]

virtual GAS_SeedParticles::~GAS_SeedParticles (  )  [protected, virtual]


Member Function Documentation

GAS_SeedParticles::GET_DATA_FUNC_S ( GAS_NAME_GEOMETRY  ,
GeometryName   
)

GAS_SeedParticles::GET_DATA_FUNC_S ( GAS_NAME_SURFACE  ,
SurfaceName   
)

GAS_SeedParticles::GETSET_DATA_FUNCS_F ( "particlesize"  ,
ParticleSize   
)

GAS_SeedParticles::GETSET_DATA_FUNCS_I ( "particlepervoxel"  ,
ParticlePerVoxel   
)

void GAS_SeedParticles::seedParticles ( GU_Detail gdp,
const SIM_ScalarField surface 
) [protected]

Creates new particles inside the surface with random positions. Ensures they are all at least the particle size away from the surface. Note that particle size is scaled by the voxel size

virtual bool GAS_SeedParticles::solveGasSubclass ( SIM_Engine engine,
SIM_Object obj,
SIM_Time  time,
SIM_Time  timestep 
) [protected, virtual]

Applies this subsolver for a single timestep. Returns true on success

Implements GAS_SubSolver.


The documentation for this class was generated from the following file:

Generated on Thu May 24 00:09:35 2012 for HDK by  doxygen 1.5.9