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

Public Member Functions

 VirtualSpring (std::string sSimObjectName, ISimObjectCreator *pCreator)
 Constructor.
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 
void InitialConditionSetup (const double T, const double *const X, double *const XDot, ISimObjectCreator *pCreator)
 
const double * OutPos (const double T, const double *const X)
 
const double * OutDeltaPos (const double T, const double *const X)
 
const double * OutDelta (const double T, const double *const X)
 
const double * OutDeltaLen (const double T, const double *const X)
 

Protected Types

typedef Eigen::Matrix< double, 3, 1 > vec3
 

Protected Attributes

ISignalPort * m_InPosA
 
ISignalPort * m_InPosB
 
ISignalPort * m_InTar
 
ISignalPort * m_InAct
 
double m_TarTen
 
double m_ActTen
 
int m_adLength
 
int m_adIntegral
 
int m_adDerivate
 
double m_Pp
 
double m_Pd
 
double m_Pi
 
double m_IntegralSaturation
 
double m_DerivativeTInv
 
double m_StiffN
 
vec3 m_adForceA
 
double m_OutPos [3]
 
double m_OutDeltaPos [3]
 
double m_adLengthMax
 
double m_InitialT
 
double m_ErrorMax
 
double m_OutDelta
 
double m_OutDeltaLen
 
double m_MinTen
 
bool m_NoCompress
 
double m_InitialLength
 
ISignalPort * m_InAdPosA
 
ISignalPort * m_InAdPosB
 

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