Marine systems simulation
CTrawlVessel Class Reference

Class modelling a simple vessel used for the trawl optimization tool. More...

#include <CTrawlVessel.h>

+ Inheritance diagram for CTrawlVessel:
+ Collaboration diagram for CTrawlVessel:

Public Member Functions

 CTrawlVessel (std::string sSimObjectName, ISimObjectCreator *pCreator)
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 

Protected Member Functions

const double * OutHeading (const double dT, const double *const adX)
 Output ports.
 
const double * OutPos (const double dT, const double *const adX)
 
const double * OutVel (const double dT, const double *const adX)
 
const double * OutWarpPos (const double dT, const double *const adX, int iWarp)
 
const double * OutWarpVel (const double dT, const double *const adX, int iWarp)
 
void CalcOutput (const double dT, const double *const adX)
 
virtual void DoDerivedOutputUpdate (const double dT, const double *const adX)
 

Protected Attributes

double m_dApSpeed
 The speed of the autopilot.
 
double m_adOut_Pos [3]
 
double m_adOut_Vel [3]
 
double * m_adOut_WarpPos
 
double * m_adOut_WarpVel
 
ICommonComputation * m_pCommonCalc
 Calculations necessary for more than one output port.
 
int m_IStatePos
 
int m_IStateHeading
 
double m_Breadth
 
double m_Draught
 
double m_Length
 
double m_WarpPosPrt [3]
 
double m_WarpPosStb [3]
 
double m_dPitch
 
double ** m_aadWarpPos
 
int m_iNumWarps
 
double m_dDesiredSpeed
 
double m_dDesiredHeading
 

Detailed Description

Author
Karl-Johan Reite

Member Function Documentation

◆ DoDerivedOutputUpdate()

virtual void CTrawlVessel::DoDerivedOutputUpdate ( const double  dT,
const double *const  adX 
)
inlineprotectedvirtual

Reimplemented in CVessel_Deploy.

◆ OdeFcn()

virtual void CTrawlVessel::OdeFcn ( const double  dT,
const double *const  adX,
double *const  adXDot,
const bool  bIsMajorTimeStep 
)
virtual

Reimplemented in CVessel_Deploy.


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