Marine systems simulation
Ship::VeresData Class Reference
+ Inheritance diagram for Ship::VeresData:
+ Collaboration diagram for Ship::VeresData:

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW VeresData (const std::string &fname, int flipPhaseForOSC=0)
 
void Read (const std::string &fname, int flipPhaseForOSC=0)
 
Eigen::Matrix< double, 6, 6 > GetHToO ()
 
void SetOriginWorigin ()
 
void SetOriginGorigin ()
 
void SetOrigin (Eigen::Matrix< double, 3, 1 > &r)
 
- Public Member Functions inherited from Ship::PotentialData
virtual void Read (const std::string &fname, int flipPhaseForOSC=0)=0
 
virtual Eigen::Matrix< double, 6, 6 > GetHToO ()=0
 
virtual void SetOriginWorigin ()=0
 
virtual void SetOriginGorigin ()=0
 
virtual void SetOrigin (Eigen::Matrix< double, 3, 1 > &r)=0
 
Eigen::Matrix< double, 6, 6 > GetMassRigidBody ()
 
Eigen::Matrix< double, 6, 6 > GetAinf (unsigned int speedno=0)
 
Eigen::Matrix< double, 6, 6 > GetMassTotal (unsigned int speedno=0)
 
Eigen::Matrix< double, 6, 6 > GetAw (unsigned int FreqNo, unsigned int SpeedNo=0)
 
Eigen::Matrix< double, 6, 6 > GetBw (unsigned int FreqNo, unsigned int SpeedNo=0)
 
virtual Eigen::Matrix< double, 6, 6 > GetCw (unsigned int FreqNo, unsigned int SpeedNo=0)
 
Eigen::Matrix< double, 1, Eigen::Dynamic > GetAij (unsigned int DOF1, unsigned int DOF2, unsigned int SpeedNo=0)
 
Eigen::Matrix< double, 1, Eigen::Dynamic > GetBij (unsigned int DOF1, unsigned int DOF2, unsigned int SpeedNo=0)
 
Eigen::Matrix< double, 1, Eigen::Dynamic > GetCij (unsigned int DOF1, unsigned int DOF2, unsigned int SpeedNo=0)
 
Eigen::Matrix< double, 1, Eigen::Dynamic > GetSpeed ()
 
Eigen::Matrix< double, 1, Eigen::Dynamic > GetHeading ()
 
Eigen::Matrix< double, 1, Eigen::Dynamic > GetFrequency (int SpeedNo=0)
 
virtual Eigen::Matrix< double, 3, 1 > GetRg ()
 
virtual Eigen::Matrix< double, 3, 1 > GetRo ()
 
Eigen::Matrix< double, 6, 1 > GetFirstOrderForce (const Eigen::Matrix< double, 3, 1 > &Kxy, double ShipSpeed, double WaveDirection, double WaveAmplitude, double WaveFrequency, double WaveNumber, double WavePhase, double Time)
 
Eigen::Matrix< double, 6, 1 > GetSecondOrderForce (Eigen::Matrix< double, 3, 1 > ShipPosition, double ShipSpeed, double WaveDirection, double WaveHeight, double WaveFrequency, double WaveNumber, double WavePhase, double Time)
 
void GenerateZeroSpeedTimeDomainApproximation ()
 
void GenerateTimeDomainApproximation ()
 
void PrintShip ()
 
size_t GetTimeDomainStateSize (int DOF1, int DOF2, int SpeedNo=0)
 
void ZeroSpeedIdentificaitonToCache ()
 
bool ZeroSpeedIdentificationFromCache ()
 
void IdentificaitonToCache ()
 
bool IdentificationFromCache ()
 
void RadiationDerivative (int DOF1, int DOF2, double *derivative, const double *const radiation_state, const double *ship_state, unsigned int SpeedNo=0)
 
double RadiationOutput (int DOF1, int DOF2, const double *const radiation_state, const double *const ship_state, unsigned int SpeedNo=0)
 

Static Public Member Functions

static double ToFhSimHeading (double Heading)
 
static double FromFhSimHeading (double Heading)
 

Protected Member Functions

bool is2Ddata ()
 
virtual bool is2Ddata ()
 

Additional Inherited Members

- Public Attributes inherited from Ship::PotentialData
std::map< int, TimeDomainRadiation, std::less< int >, Eigen::aligned_allocator< std::pair< const int, TimeDomainRadiation > > > RadiationApproximation
 
- Protected Attributes inherited from Ship::PotentialData
std::string fname
 
double Lpp
 
double Bredth
 
double Draught
 
double LCG
 
double VCG
 
double LCB
 
double VCB
 
unsigned int NoSpeed
 
unsigned int NoHeading
 
unsigned int NoDOF
 
unsigned int NoFrequency
 
double * Speed
 
double * Heading
 
double ** Frequency
 
FroudeKrylovForceFroudeFrylov
 
WaveDriftForceWaveDrift
 
Eigen::Matrix< double, 6, 6 > Mrbeig
 
Eigen::Matrix< double, 6, 6 > ** A
 
Eigen::Matrix< double, 6, 6 > ** B
 
Eigen::Matrix< double, 6, 6 > ** C
 
Eigen::Matrix< double, 6, 6 > ** Aadd
 
Eigen::Matrix< double, 6, 6 > ** Badd
 
Eigen::Matrix< double, 6, 6 > ** Cadd
 
Eigen::Matrix< double, 3, 1 > rg
 
Eigen::Matrix< double, 3, 1 > ro
 
std::map< std::string, double > param
 

Member Function Documentation

◆ GetHToO()

Eigen::Matrix< double, 6, 6 > Ship::VeresData::GetHToO ( )
virtual

Implements Ship::PotentialData.

◆ is2Ddata()

bool Ship::VeresData::is2Ddata ( )
inlineprotectedvirtual

Reimplemented from Ship::PotentialData.

◆ Read()

void Ship::VeresData::Read ( const std::string &  fname,
int  flipPhaseForOSC = 0 
)
virtual

Implements Ship::PotentialData.

◆ SetOrigin()

void Ship::VeresData::SetOrigin ( Eigen::Matrix< double, 3, 1 > &  r)
virtual

Implements Ship::PotentialData.

◆ SetOriginGorigin()

void Ship::VeresData::SetOriginGorigin ( )
virtual

Implements Ship::PotentialData.

◆ SetOriginWorigin()

void Ship::VeresData::SetOriginWorigin ( )
virtual

Implements Ship::PotentialData.


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