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

Public Member Functions

 C3DBody (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...
 
- Public Member Functions inherited from CMass
 CMass (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...
 
 CMass (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 Attributes

double m_dGravity
 The gravitational acceleration.
 
- Protected Attributes inherited from CMass
double m_dMass
 The mass of the object.
 
double m_dg
 The acceleration of gravity.
 
ISignalPort * m_pInForce
 A pointer to the input force.
 
int m_IStatePos
 The index of the position state.
 
int m_IStateVel
 The index of the velocity state.
 

Additional Inherited Members

- Protected Member Functions inherited from CMass
virtual const double * Position (const double dT, const double *const adX)
 
virtual const double * Velocity (const double dT, const double *const adX)
 
virtual const double * Position (const double dT, const double *const adX)
 
virtual const double * Velocity (const double dT, const double *const adX)
 

Member Function Documentation

◆ OdeFcn()

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

Reimplemented from CMass.


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