Marine systems simulation
C3DBody.h
1#ifndef C3DBody_H
2#define C3DBody_H
3
85#include "CMass.h"
86
87
88class C3DBody : public CMass
89{
90 public:
92 C3DBody(std::string sSimObjectName, ISimObjectCreator* pCreator);
93
95 virtual void OdeFcn(const double dT, const double* const adX,
96 double* const adXDot, const bool bIsMajorTimeStep);
97
98
99 protected:
100 double m_dGravity;
101};
102
103
104#endif
Definition: C3DBody.h:89
double m_dGravity
The gravitational acceleration.
Definition: C3DBody.h:100
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.
Class containing a 3dof mass simObjec without gravity.
Definition: CMass.h:19