#include <GAS_Solver.h>

Protected Member Functions | |
| GAS_Solver (const SIM_DataFactory *factory) | |
| virtual | ~GAS_Solver () |
| virtual SIM_Result | solveObjectsSubclass (SIM_Engine &engine, SIM_ObjectArray &objects, SIM_ObjectArray &newobjects, SIM_ObjectArray &feedbacktoobjects, const SIM_Time ×tep) |
| void | addPressureFeedback (SIM_Engine &engine, SIM_ScalarField *collisionmask, SIM_Object *fluidobj, SIM_Object *collideobj, SIM_RawField *pressure, const SIM_Time &time) const |
Definition at line 37 of file GAS_Solver.h.
| GAS_Solver::GAS_Solver | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual GAS_Solver::~GAS_Solver | ( | ) | [protected, virtual] |
| void GAS_Solver::addPressureFeedback | ( | SIM_Engine & | engine, | |
| SIM_ScalarField * | collisionmask, | |||
| SIM_Object * | fluidobj, | |||
| SIM_Object * | collideobj, | |||
| SIM_RawField * | pressure, | |||
| const SIM_Time & | time | |||
| ) | const [protected] |
Calculates the appropriate feedback on the objects given the calculated pressure field. This will add the appropraite SIM_FEEDBACK impacts.
| virtual SIM_Result GAS_Solver::solveObjectsSubclass | ( | SIM_Engine & | engine, | |
| SIM_ObjectArray & | objects, | |||
| SIM_ObjectArray & | newobjects, | |||
| SIM_ObjectArray & | feedbacktoobjects, | |||
| const SIM_Time & | timestep | |||
| ) | [protected, virtual] |
This method solves for some objects. It performs whatever processing is necessary to take objects from their state at one time to another. The default implementation does nothing. The objects parameter holds all the objects that should be solved for this timestep. The newobjects parameter is a set of objects that were just created in this timestep, and so should in most cases not be solved on this timestep so that they maintain correct initial conditions.
Implements SIM_Solver.
1.5.9