FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Disk Class Reference
+ Inheritance diagram for Disk:
+ Collaboration diagram for Disk:

Public Member Functions

 Disk (const std::string &SimObjectName, ISimObjectCreator *const Creator)
 
void FinalSetup (const double T, const double *const X, ISimObjectCreator *const Creator)
 
void PreOdeFcn (double T, const double *X, IStateUpdater *updater) override
 With CastWake: takes the disk axis from the Force input and rebuilds the wake when due.
 
const double * Position (const double T, const double *const X)
 
const double * Velocity (const double T, const double *const X)
 
void OdeFcn (const double T, const double *const X, double *const XDot) const
 
bool HasJacobians () const override
 
void OdeJacobian (double T, const double *X, double *J, int nStates) override
 
int GetJacobianSparsity (int nStates, int *rowPtr, int *colIdx) override
 
const environment::wake::BodyWake * Wake () const
 The wake: null without an Environment or before FinalSetup.
 

Member Function Documentation

◆ HasJacobians()

bool Disk::HasJacobians ( ) const
override

False while the disk was below the seabed at the state of the last OdeFcn call: the seabed weight and friction are not in OdeJacobian, so the engine's numerical Jacobian is used there (MARE-0134).


The documentation for this class was generated from the following file: