#include <GAS_SandForces.h>

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) |
Definition at line 30 of file GAS_SandForces.h.
| GAS_SandForces::GAS_SandForces | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual GAS_SandForces::~GAS_SandForces | ( | ) | [protected, virtual] |
| 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.
1.5.9