|
Marine systems simulation
|
Inheritance diagram for testmodels::TestParticleField:
Collaboration diagram for testmodels::TestParticleField:Public Member Functions | |
| TestParticleField (std::string SimObjectName, ISimObjectCreator *Creator) | |
| void | OdeFcn (const double T, const double *const X, double *const XDot, const bool MajorTimeStep) |
| ODE function - integrate particle dynamics. | |
| void | FinalSetup (const double T, const double *const X, ISimObjectCreator *const Creator) |
| Final setup - register state indices. | |
| const double * | Position (const double T, const double *const X) |
| const double * | Velocity (const double T, const double *const X) |
| testmodels::TestParticleField::TestParticleField | ( | std::string | SimObjectName, |
| ISimObjectCreator * | Creator | ||
| ) |
Construct particle field test.
| [in] | SimObjectName | Unique name for this simulation object. |
| [in] | Creator | Pointer to the object creator/registry. |
| const double * testmodels::TestParticleField::Position | ( | const double | T, |
| const double *const | X | ||
| ) |
Get particle positions.
| [in] | T | Simulation time. |
| [in] | X | State vector. |
| const double * testmodels::TestParticleField::Velocity | ( | const double | T, |
| const double *const | X | ||
| ) |
Get particle velocities.
| [in] | T | Simulation time. |
| [in] | X | State vector. |