#include <GAS_SubStep.h>

Public Member Functions | |
| GETSET_DATA_FUNCS_I (SIM_NAME_PRIMARYSOLVER, PrimarySolver) | |
| GET_DATA_FUNC_S (GAS_NAME_VELOCITY, VelocityName) | |
| GET_DATA_FUNC_S (GAS_NAME_GEOMETRY, GeometryName) | |
| GETSET_DATA_FUNCS_I ("substeps", Substeps) | |
| GETSET_DATA_FUNCS_I ("minimumsubsteps", MinimumSubsteps) | |
| GETSET_DATA_FUNCS_F ("cflcond", CFLCond) | |
| GET_DATA_FUNC_S (GAS_NAME_TRACKERADDR, TrackerAddress) | |
| GET_DATA_FUNC_I (GAS_NAME_TRACKERPORT, TrackerPort) | |
| GET_DATA_FUNC_S (GAS_NAME_JOBNAME, JobName) | |
| GET_DATA_FUNC_I ("slice", Slice) | |
| GET_DATA_FUNC_I ("numslice", NumSlice) | |
| virtual SIM_Result | solveObjectsSubclass (SIM_Engine &engine, SIM_ObjectArray &objects, SIM_ObjectArray &newobjects, SIM_ObjectArray &feedbacktoobjects, const SIM_Time ×tep) |
Protected Member Functions | |
| GAS_SubStep (const SIM_DataFactory *factory) | |
| virtual | ~GAS_SubStep () |
| virtual bool | solveGasSubclass (SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep) |
| virtual void | getImpulseMassMatrixSubclass (const SIM_Object &object, const UT_Vector3 &impulseworldpos, UT_DMatrix3 &immatrix) const |
| virtual void | getPointImpulseMassMatrixSubclass (const SIM_Object &object, int ptnum, UT_DMatrix3 &immatrix) const |
Definition at line 27 of file GAS_SubStep.h.
| GAS_SubStep::GAS_SubStep | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual GAS_SubStep::~GAS_SubStep | ( | ) | [protected, virtual] |
| GAS_SubStep::GET_DATA_FUNC_I | ( | "numslice" | , | |
| NumSlice | ||||
| ) |
| GAS_SubStep::GET_DATA_FUNC_I | ( | "slice" | , | |
| Slice | ||||
| ) |
| GAS_SubStep::GET_DATA_FUNC_I | ( | GAS_NAME_TRACKERPORT | , | |
| TrackerPort | ||||
| ) |
| GAS_SubStep::GET_DATA_FUNC_S | ( | GAS_NAME_JOBNAME | , | |
| JobName | ||||
| ) |
| GAS_SubStep::GET_DATA_FUNC_S | ( | GAS_NAME_TRACKERADDR | , | |
| TrackerAddress | ||||
| ) |
| GAS_SubStep::GET_DATA_FUNC_S | ( | GAS_NAME_GEOMETRY | , | |
| GeometryName | ||||
| ) |
| GAS_SubStep::GET_DATA_FUNC_S | ( | GAS_NAME_VELOCITY | , | |
| VelocityName | ||||
| ) |
| virtual void GAS_SubStep::getImpulseMassMatrixSubclass | ( | const SIM_Object & | object, | |
| const UT_Vector3 & | impulseworldpos, | |||
| UT_DMatrix3 & | immatrix | |||
| ) | const [protected, virtual] |
Gets the impulse mass matrix of an object for an impulse at the provided world space position. The default implementation gets the closest point in the geometry and calls getPointImpulseMassMatrix().
Reimplemented from SIM_Solver.
| virtual void GAS_SubStep::getPointImpulseMassMatrixSubclass | ( | const SIM_Object & | object, | |
| int | ptnum, | |||
| UT_DMatrix3 & | immatrix | |||
| ) | const [protected, virtual] |
Gets the impulse mass matrix of an object for an impulse at the provided point on the geometry of the object. The default implementation finds the world space position of the point and calls getImpulseMassMatrix().
Reimplemented from SIM_Solver.
| GAS_SubStep::GETSET_DATA_FUNCS_F | ( | "cflcond" | , | |
| CFLCond | ||||
| ) |
| GAS_SubStep::GETSET_DATA_FUNCS_I | ( | "minimumsubsteps" | , | |
| MinimumSubsteps | ||||
| ) |
| GAS_SubStep::GETSET_DATA_FUNCS_I | ( | "substeps" | , | |
| Substeps | ||||
| ) |
| GAS_SubStep::GETSET_DATA_FUNCS_I | ( | SIM_NAME_PRIMARYSOLVER | , | |
| PrimarySolver | ||||
| ) |
| virtual bool GAS_SubStep::solveGasSubclass | ( | SIM_Engine & | engine, | |
| SIM_Object * | obj, | |||
| SIM_Time | time, | |||
| SIM_Time | timestep | |||
| ) | [inline, protected, virtual] |
Applies this subsolver for a single timestep. Returns true on success
Implements GAS_SubSolver.
Definition at line 55 of file GAS_SubStep.h.
| virtual SIM_Result GAS_SubStep::solveObjectsSubclass | ( | SIM_Engine & | engine, | |
| SIM_ObjectArray & | objects, | |||
| SIM_ObjectArray & | newobjects, | |||
| SIM_ObjectArray & | feedbacktoobjects, | |||
| const SIM_Time & | timestep | |||
| ) | [virtual] |
We to change the way in which our timestep is used so we have to preempt the solveGasSubclass.
Reimplemented from GAS_SubSolver.
1.5.9