GAS_StrainForces Class Reference

#include <GAS_StrainForces.h>

Inheritance diagram for GAS_StrainForces:

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_STRAIN, StrainName)
 GET_DATA_FUNC_S (GAS_NAME_VELOCITY, VelocityName)
 GETSET_DATA_FUNCS_F ("elasticmodulus", ElasticModulus)
 GET_DATA_FUNC_B (GAS_NAME_USETIMESTEP, UseTimeStep)
 GET_DATA_FUNC_F (GAS_NAME_TIMESCALE, TimeScale)

Protected Member Functions

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


Detailed Description

Definition at line 30 of file GAS_StrainForces.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

void GAS_StrainForces::addStrainForces ( SIM_VectorField velocity,
SIM_ScalarField surface,
SIM_MatrixField strain,
fpreal  timestep 
) [protected]

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

GAS_StrainForces::GET_DATA_FUNC_B ( GAS_NAME_USETIMESTEP  ,
UseTimeStep   
)

GAS_StrainForces::GET_DATA_FUNC_F ( GAS_NAME_TIMESCALE  ,
TimeScale   
)

GAS_StrainForces::GET_DATA_FUNC_S ( GAS_NAME_VELOCITY  ,
VelocityName   
)

GAS_StrainForces::GET_DATA_FUNC_S ( GAS_NAME_STRAIN  ,
StrainName   
)

GAS_StrainForces::GET_DATA_FUNC_S ( GAS_NAME_SURFACE  ,
SurfaceName   
)

GAS_StrainForces::GETSET_DATA_FUNCS_F ( "elasticmodulus"  ,
ElasticModulus   
)

virtual bool GAS_StrainForces::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