|
|
| WavePropulsionHull (std::string simObjectName, ISimObjectCreator *creator) |
| |
|
void | FinalSetup (double T, const double *X, ISimObjectCreator *creator) override |
| |
|
void | PreOdeFcn (double T, const double *X, IStateUpdater *updater) override |
| |
|
const double * | ThrustPort (double T, const double *X) |
| |
|
const double * | RudderForcePort (double T, const double *X) |
| |
|
const environment::wake::BodyFlowInteraction & | Flow () const |
| | The current and wakes it receives, the hull wake and jet it casts (read only, for tests).
|
| |
|
| 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) |
| |
|
| Loads | ExtraLoads (double T, const double *X, const Dof &velocity) const override |
| |
| std::array< Dof, 6 > | ExtraLoadsVelocityJacobian (const Dof &velocity) const override |
| |
| std::array< double, 3 > | WaterVelocity (double T, const double *X) const override |
| |
| std::array< double, 3 > | HeldWaterVelocity () const override |
| | The water velocity of the step [m/s], NED, which OdeJacobian holds fixed. The base: still water.
|
| |
|
Dof | VelocityThroughWater (double T, const double *X) const |
| | (u, v, r) through the water at time T for the model-global state X.
|
| |
|
Dof | HullDamping (const Dof &velocity) const |
| | The hull's damping X(u), Y(v), N(r) at the velocity through the water velocity (u, v, r), resisting it.
|
| |
|
double | Length () const |
| |
|
double | Breadth () const |
| |
|
double | Lcf () const |
| |
|
double | Draught () const |
| |
|
double | Rho () const |
| |
|
int | MotionIndex () const |
| |
|
int | RateIndex () const |
| |
|
int | PoseIndex () const |
| |
|
int | VelocityIndex () const |
| |
|
|
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].
|
| |
|
static Dof | InBodyFrame (const std::array< double, 3 > &water, double psi) |
| | The water velocity water (NED) in the body frame of heading psi: (u_c, v_c, 0).
|
| |