Marine systems simulation
System::SmallObject Class Reference
+ Inheritance diagram for System::SmallObject:
+ Collaboration diagram for System::SmallObject:

Public Member Functions

 SmallObject (const string &simObjectName, ISimObjectCreator *const creator)
 
virtual void FinalSetup (const double T, const double *const X, ISimObjectCreator *const creator)
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool IsMajorTimeStep)
 
virtual void CalRotationMatrix (const double &Roll, const double &Pitch, const double &Yaw)
 
virtual void CalJMatrix (const double &Roll, const double &Pitch, const double &Yaw)
 
virtual evec6 CalCoriolisForce (const evec3 &vl, const evec3 &wl, const emat6 &Inertia)
 
virtual evec6 CalConnectForce (const evec3 &p, const evec3 &v, const evec3 &w, const double T, const double *const X)
 
virtual equat RoationToQuaternion (const evec3 &EulerAngle)
 
virtual evec3 CalRollPitchYaw (const equat &ql2g)
 

Protected Member Functions

virtual const double * OutputPos (const double dT, const double *const adX)
 
virtual const double * OutputVel (const double dT, const double *const adX)
 
virtual const double * OutputVelLoc (const double dT, const double *const adX)
 
virtual const double * OutputQuat (const double dT, const double *const adX)
 
virtual const double * OutputQuatRot (const double dT, const double *const adX)
 
virtual const double * OutputConnectForce (const double dT, const double *const adX)
 
virtual const double * ConnectPos (const double dT, const double *const adX, int iConnect)
 List of velocities (u,v,w) of the connections.
 
virtual const double * ConnectVel (const double dT, const double *const adX, int iConnect)
 

Protected Attributes

int m_IStatePos
 
int m_IStateRot
 
int m_IStateVel
 
int m_IStateOmega
 
emat3 m_RotMatl2g
 
emat3 m_RotMatg2l
 
emat3 m_JMatl2g
 
emat3 m_JMatg2l
 
double m_WaterDensity
 
double m_SubmergedVolume
 
double m_Mass
 
emat6 m_Inertia
 
evec6 m_AddedMass
 
evec6 m_MorisonCM
 
evec6 m_MorisonCD
 
evec6 m_LinearDamping
 
evec6 m_DragArea
 
double m_RampTime
 
evec6 m_Restoring
 
evec3 m_InitialPos
 
evec3 m_InitialRot
 
bool m_ExtGravity
 
evec6 m_OutputPos
 
evec6 m_OutputVel
 
evec6 m_OutputVelLoc
 
evec4 m_OutputQuat
 
evec3 m_OutputQuatRot
 
evec6 m_TotalConnectForce
 
CEnvironmentm_Environment
 Sea environment variables.
 
int m_ConnectNum
 Pointer to DeepSeaGravityWaves -> CEnvironment.
 
int m_ConnectPA
 Number of connections.
 
double * m_ConnectLoc
 Index of the object to connect.
 
double * m_ConnectPos
 List of local locations of the connections.
 
double * m_ConnectVel
 List of positions (x,y,z) of the connections.
 
ISignalPort ** m_ConnectForce
 

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