|
|
using | Dof = std::array< double, 3 > |
| | Three generalized loads or coordinates: (heave, roll, pitch) or (surge, sway, yaw).
|
| |
|
using | Loads = std::array< double, 6 > |
| | Generalized loads on the six modes, ordered surge, sway, heave, roll, pitch, yaw [N, N m].
|
| |
|
|
| WaveHull (std::string simObjectName, ISimObjectCreator *creator) |
| |
|
void | FinalSetup (double T, const double *X, ISimObjectCreator *creator) override |
| |
|
void | OdeFcn (double T, const double *X, double *XDot) const override |
| |
|
bool | HasJacobians () const override |
| |
|
void | OdeJacobian (double T, const double *X, double *J, int nStates) override |
| |
|
int | GetJacobianSparsity (int, int *, int *) override |
| |
|
Dof | RawWaveLoads (double T, const double *pose) const |
| | Unfiltered wave loads (Fz, Mphi, Mtheta) at time T for the hull at pose (N, E, psi).
|
| |
|
const double * | MotionPort (double T, const double *X) |
| |
|
const double * | MotionRatePort (double T, const double *X) |
| |
|
const double * | ExcitationPort (double T, const double *X) |
| |
|
const double * | VelocityPort (double T, const double *X) |
| |
|
const double * | PositionPort (double T, const double *X) |
| |
|
const double * | RotationPort (double T, const double *X) |
| |
◆ ExtraLoads()
| virtual Loads WaveHull::ExtraLoads |
( |
double |
, |
|
|
const double * |
, |
|
|
const Dof & |
|
|
) |
| const |
|
inlineprotectedvirtual |
Loads a derived model adds, at time T, for the model-global state X and the hull velocity velocity (u, v, r). The base adds none.
Reimplemented in WavePropulsionHull.
◆ ExtraLoadsVelocityJacobian()
| virtual std::array< Dof, 6 > WaveHull::ExtraLoadsVelocityJacobian |
( |
const Dof & |
| ) |
const |
|
inlineprotectedvirtual |
d(ExtraLoads)/d(u, v, r), one row per load, with the derived model's inputs held fixed. Called from OdeJacobian, which has no model-global state; the base adds none.
Reimplemented in WavePropulsionHull.
The documentation for this class was generated from the following file:
- webfhsim/reloadrepos/fhsim_marine_elements/src/vessel/WaveHull.h