GAS_Solver Class Reference

#include <GAS_Solver.h>

Inheritance diagram for GAS_Solver:

SIM_Solver SIM_OptionsUser SIM_Data

List of all members.

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 &timestep)
void addPressureFeedback (SIM_Engine &engine, SIM_ScalarField *collisionmask, SIM_Object *fluidobj, SIM_Object *collideobj, SIM_RawField *pressure, const SIM_Time &time) const


Detailed Description

Definition at line 37 of file GAS_Solver.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

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.


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