|
FhSim
3.1.0
Marine systems simulation
|
Inheritance diagram for environmentmodels::Environment:
Collaboration diagram for environmentmodels::Environment:Public Member Functions | |
| Environment (std::string simObjectName, ISimObjectCreator *creator) | |
| ~Environment (void) | |
| Destructor. | |
| void | OdeFcn (const double dT, const double *const adX, double *const adXDot) const override |
| void | PreOdeFcn (double T, const double *X) override |
| environmentmodels::Environment::Environment | ( | std::string | simObjectName, |
| ISimObjectCreator * | creator | ||
| ) |
Construct and initialise the environment from XML parameters.
| [in] | simObjectName | Unique name for this simulation object. |
| [in] | creator | Pointer to the object creator/registry. |
|
override |
ODE callback — the Environment has no dynamic state, so this does nothing.
| [in] | dT | Current simulation time [s] (unused). |
| [in] | adX | Current state vector (unused). |
| [out] | adXDot | State derivative vector (unused; not written). |
|
override |
Advances the moving scalar fields (aggregation fields) to time T, in whole update intervals.
| [in] | T | Current simulation time [s]. |
| [in] | X | Current state vector (unused). |