FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
HeaveRollPitch::Defaults Struct Reference

#include <HeaveRollPitch.h>

Public Attributes

std::optional< double > mass
 
std::optional< double > waterplaneArea
 
std::optional< double > rollInertia
 
std::optional< double > pitchInertia
 
std::optional< double > rollPeriod
 Used when neither GMT nor RollPeriod is given [s].
 
std::optional< double > gml
 Used when neither GML nor PitchPeriod is given [m].
 
std::optional< double > rollQuadraticDamping
 Default of RollQuadraticDamping [N m s^2].
 
int sampleLevel = 2
 
double rollDampingRatio = 0.45
 

Detailed Description

Defaults the owner object gives for the parameters. A parameter whose default has no value is required. For the pairs GMT / RollPeriod and GML / PitchPeriod: if the deck gives both, that is an error. If it gives neither, the default is used, and with no default that is an error too ("Give exactly one").


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