Marine systems simulation
Ship::PotentialData Class Referenceabstract
+ Inheritance diagram for Ship::PotentialData:
+ Collaboration diagram for Ship::PotentialData:

Classes

struct  TimeDomainRadiation
 

Public Member Functions

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)
 

Public Attributes

std::map< int, TimeDomainRadiation, std::less< int >, Eigen::aligned_allocator< std::pair< const int, TimeDomainRadiation > > > RadiationApproximation
 

Protected Member Functions

virtual bool is2Ddata ()
 

Protected Attributes

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
 

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