GAS_SandForces Class Reference

#include <GAS_SandForces.h>

Inheritance diagram for GAS_SandForces:

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_PRESSURE, PressureName)
 GET_DATA_FUNC_S (GAS_NAME_STRAIN, StrainName)
 GET_DATA_FUNC_S (GAS_NAME_VELOCITY, VelocityName)
 GETSET_DATA_FUNCS_F ("frictionangle", FrictionAngle)
 GETSET_DATA_FUNCS_F ("cohesion", Cohesion)
 GET_DATA_FUNC_B (GAS_NAME_USETIMESTEP, UseTimeStep)
 GET_DATA_FUNC_F (GAS_NAME_TIMESCALE, TimeScale)

Protected Member Functions

 GAS_SandForces (const SIM_DataFactory *factory)
virtual ~GAS_SandForces ()
virtual bool solveGasSubclass (SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep)
void addSandForces (SIM_VectorField *velocity, SIM_ScalarField *surface, SIM_MatrixField *strain, SIM_ScalarField *pressure, fpreal timestep)


Detailed Description

Definition at line 30 of file GAS_SandForces.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

void GAS_SandForces::addSandForces ( SIM_VectorField velocity,
SIM_ScalarField surface,
SIM_MatrixField strain,
SIM_ScalarField pressure,
fpreal  timestep 
) [protected]

Using the given strain field, update the velocity field to take into account the relevant strains.

GAS_SandForces::GET_DATA_FUNC_B ( GAS_NAME_USETIMESTEP  ,
UseTimeStep   
)

GAS_SandForces::GET_DATA_FUNC_F ( GAS_NAME_TIMESCALE  ,
TimeScale   
)

GAS_SandForces::GET_DATA_FUNC_S ( GAS_NAME_VELOCITY  ,
VelocityName   
)

GAS_SandForces::GET_DATA_FUNC_S ( GAS_NAME_STRAIN  ,
StrainName   
)

GAS_SandForces::GET_DATA_FUNC_S ( GAS_NAME_PRESSURE  ,
PressureName   
)

GAS_SandForces::GET_DATA_FUNC_S ( GAS_NAME_SURFACE  ,
SurfaceName   
)

GAS_SandForces::GETSET_DATA_FUNCS_F ( "cohesion"  ,
Cohesion   
)

GAS_SandForces::GETSET_DATA_FUNCS_F ( "frictionangle"  ,
FrictionAngle   
)

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

Compute the amount of stress to add to each voxel according to the given strain amounts.

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