Marine systems simulation
CToTrawlDoor Class Reference
+ Inheritance diagram for CToTrawlDoor:
+ Collaboration diagram for CToTrawlDoor:

Public Member Functions

 CToTrawlDoor (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
void FinalSetup (const double dT, const double *const adX, ISimObjectCreator *const pCreator)
 
const double * OutRoll (const double dT, const double *const adX)
 Output port returning the roll angle of the trawl door.
 
const double * OutPitch (const double dT, const double *const adX)
 
const double * OutAngleOfAttack (const double dT, const double *const adX)
 
- Public Member Functions inherited from CTrawlDoor_base
 CTrawlDoor_base (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives. More...
 

Protected Member Functions

virtual void AddBottomForces ()
 Adds the bottom forces to the trawl door. More...
 
- Protected Member Functions inherited from CTrawlDoor_base
virtual void TD_HydroForces (const double pRelVel[], double *pAlpha, double *pBeta, double *pU, double pForceSS[])
 
virtual void TD_HydroForces_SS (double TD_Area, double rho, const double pRelVel[], double alpha, double beta, double U, double *pCoeffSS, double *pForceSS)
 
virtual void TD_HydroCoeff_SS (double alpha, double beta, double pCoeffSS[])
 
virtual void TD_vel2HydroAng (const double pRelVel[], double *pAlpha, double *pBeta, double *pU)
 
virtual void AddExternalForces (double dT, const double *const adX)
 
virtual void AddInternalForces ()
 
virtual void AddHydroForces ()
 
virtual void AddDampingForces ()
 
virtual void AddBottomForces ()
 
virtual void CalcDerivatives (double dT, double *const adXDot, const double *const adX)
 
virtual void CalcFoundation (const double dT, const double *const adX, double *const adXDot, bool bIsMajorTimeStep)
 
virtual void AddExternalForce (const double adPos_d[3], const double adForceExternal_n[3])
 
virtual void CalcOutput (const double dT, const double *const adX)
 
void FinalSetup (const double dT, const double *const adX, ISimObjectCreator *const pCreator)
 
const double * OutPos1 (const double dT, const double *const adX)
 
const double * OutPos3 (const double dT, const double *const adX)
 
const double * OutPos2 (const double dT, const double *const adX)
 
const double * OutVel1 (const double dT, const double *const adX)
 
const double * OutVel3 (const double dT, const double *const adX)
 
const double * OutVel2 (const double dT, const double *const adX)
 

Protected Attributes

IBottomDepth ** m_ppBottom
 
double m_dAvgSubmergence
 
double m_aCornerPos_ned [4][3]
 
double m_adSubmergence [4]
 
double m_roll
 
double m_pitch
 
- Protected Attributes inherited from CTrawlDoor_base
bool m_bIsPort
 Is this a port trawl door?
 
double m_adCOG [3]
 The trawl door center of gravity.
 
double m_dArea
 The trawldoor area.
 
double m_dHeight
 
double m_dLength
 
double m_dAR
 
double m_dCurvature
 
double m_dMass
 The mass of the object.
 
double m_dMassInverse [6][6]
 
double m_mdCornerPos_body [4][3]
 
double m_dRhoDoor
 The density of the trawl door material.
 
double m_adOutOfBoundCoeff [6]
 
double m_adHydrodynamicCorrections [6]
 
double m_adWarpPos_d [3]
 
double m_adLBPos_d [3]
 
double m_adUBPos_d [3]
 
double m_dRhoWater
 The density of the surrounding fluid.
 
double m_adForce_warp [3]
 A pointer to the Warp force.
 
double m_adForce_LB [3]
 A pointer to the force.
 
double m_adForce_UB [3]
 A pointer to the input force.
 
double m_adWaterVel_n [3]
 The water velocity in the door position.
 
ICommonComputation * m_pCommonCalc
 Calculations necessary for more than one output port.
 
ICurrentVel ** m_ppCurrentVel
 
CEnvironmentm_pEnvironment
 
ISignalPort * m_pInWarp_F
 The cable length input port.
 
ISignalPort * m_pInLB_F
 The cable length input port.
 
ISignalPort * m_pInUB_F
 The cable length input port.
 
double m_adOutPos1 [3]
 
double m_adOutPos3 [3]
 
double m_adOutPos2 [3]
 
double m_adOutVel1 [3]
 
double m_adOutVel3 [3]
 
double m_adOutVel2 [3]
 
unsigned long m_IStatePos
 
unsigned long m_IStateQuater
 
unsigned long m_IStateLocalVel
 
unsigned long m_IStateOmega
 
unsigned long m_IStateHydroForce
 
double ma_adSumForces [6]
 
double ma_dAlpha
 
double ma_dBeta
 
double ma_dU
 
const double * ma_adXPos_n
 
const double * ma_adXQuater
 
const double * ma_adXVel_d
 
const double * ma_adXOmega
 
double ma_mdR [3][3]
 
double ma_adXVel_n [3]
 
double ma_adHydroForceSS [6]
 
double ma_adRelVel_d [6]
 
double ma_adWaterVel_d [3]
 

Member Function Documentation

◆ AddBottomForces()

virtual void CToTrawlDoor::AddBottomForces ( )
protectedvirtual

Reimplemented from CTrawlDoor_base.


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