|
Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|
A SubEngine is a singleton object that injects dynamics into the Tissue Forge engine. It does not necessarily integrate any object in time, but can also simply add to the dynamics of existing Tissue Forge objects. Tissue Forge supports an arbitrary number of subengines with multi-threading and GPU support. More...
#include <tfSubEngine.h>

Public Member Functions | |
| HRESULT | registerEngine () |
| Register with the Tissue Forge engine. | |
| virtual HRESULT | preStepStart () |
| First call before forces are calculated for a step. | |
| virtual HRESULT | preStepJoin () |
| Last call before forces are calculated for a step. | |
| virtual HRESULT | postStepStart () |
| First call after forces are calculated, and before events are executed, for a step. | |
| virtual HRESULT | postStepJoin () |
| Last call after forces are calculated, and before events are executed, for a step. | |
| virtual HRESULT | finalize () |
| Called during termination of a simulation, just before shutdown of Tissue Forge engine. | |
Public Attributes | |
| const char * | name |
A SubEngine is a singleton object that injects dynamics into the Tissue Forge engine. It does not necessarily integrate any object in time, but can also simply add to the dynamics of existing Tissue Forge objects. Tissue Forge supports an arbitrary number of subengines with multi-threading and GPU support.
|
inlinevirtual |
Called during termination of a simulation, just before shutdown of Tissue Forge engine.
|
inlinevirtual |
Last call after forces are calculated, and before events are executed, for a step.
Reimplemented in TissueForge::models::vertex::MeshSolver.
|
inlinevirtual |
First call after forces are calculated, and before events are executed, for a step.
Reimplemented in TissueForge::models::vertex::MeshSolver.
|
inlinevirtual |
Last call before forces are calculated for a step.
Reimplemented in TissueForge::models::vertex::MeshSolver.
|
inlinevirtual |
First call before forces are calculated for a step.
Reimplemented in TissueForge::models::vertex::MeshSolver.
| HRESULT TissueForge::SubEngine::registerEngine | ( | ) |
Register with the Tissue Forge engine.
| const char* TissueForge::SubEngine::name |
Unique name of the engine. No two registered engines can have the same name.