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

Public Member Functions

 CRigidBarCable (string simObjectName, ISimObjectCreator *creator)
 The constructor sets the pointer to the output object and the parser object. More...
 
 ~CRigidBarCable ()
 The destructor cleans up dynamically allocated memory.
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
 Calculates the time derivative of the state vector. More...
 
const double *const ForceA (const double T, const double *const X)
 
const double *const ForceB (const double T, const double *const X)
 
const double *const PosR (const double T, const double *const X, const int index)
 
const double *const VelR (const double T, const double *const X, const int index)
 

Protected Member Functions

void InitialConditionSetup (const double T, const double *const currentIC, double *const updatedIC, ISimObjectCreator *const creator)
 

Protected Attributes

int m_ISVecR
 
int m_ISVecRdot
 
int m_ISVecB
 
int m_ISVecBdot
 
int m_ISEndNodeSum
 

Constructor & Destructor Documentation

◆ CRigidBarCable()

CRigidBarCable::CRigidBarCable ( string  simObjectName,
ISimObjectCreator *  creator 
)

reads parameters, registers states, input/output ports and shared resources

Member Function Documentation

◆ OdeFcn()

void CRigidBarCable::OdeFcn ( const double  T,
const double *const  X,
double *const  XDot,
const bool  bIsMajorTimeStep 
)

returns object derivatives as a function of time, states and input ports


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