Marine systems simulation
Netcage::CToCollar Class Reference
+ Inheritance diagram for Netcage::CToCollar:
+ Collaboration diagram for Netcage::CToCollar:

Public Member Functions

 CToCollar (const string &simobjectname, ISimObjectCreator *const creator)
 The constructor sets the pointer to the output object and the parser object.
 
 ~CToCollar ()
 The destructor cleans up.
 
virtual void OdeFcn (const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 
const double * outputConnectorPos (const double T, const double *const X, const int index)
 Writes to the output ports. More...
 
const double * outputCentrePos (const double T, const double *const X)
 

Protected Attributes

double ** m_NetConnectPos
 holds pointers to all net connection pos arrays
 
double ** m_NetConnectPosGlobal
 
double m_CentrePos [3]
 
int m_IStatePos
 Centre position of ring.
 
double m_Diameter
 
int m_iNumConnectors
 

Member Function Documentation

◆ outputConnectorPos()

const double * Netcage::CToCollar::outputConnectorPos ( const double  T,
const double *const  X,
const int  index 
)

indexed output port. See PortDefs.h.


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