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

Public Member Functions

 CCenterWeight (std::string sSimObjectName, ISimObjectCreator *pCreator)
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 
void FinalSetup (const double dT, const double *const adX, ISimObjectCreator *const pCreator)
 
virtual const double * Position (const double dT, const double *const adX)
 
virtual const double * Velocity (const double dT, const double *const adX)
 

Protected Attributes

ISignalPort * m_pInForce1
 A pointer to the input force 1.
 
ISignalPort * m_pInForce2
 A pointer to the input force 2.
 
ISignalPort * m_pInForce3
 A pointer to the input force 3.
 
int m_IStatePos
 The index of the position state.
 
int m_IStateVel
 The index of the velocity state.
 
double m_dMass
 
double m_dDensity
 
double m_dVisualizationScale
 
double m_dRadius
 
double m_dWeight
 
IBasicBottom ** m_ppBottom
 The bottom object.
 

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