30#include <ISimObjectCreator.h>
42 CBottomRing(
const string& simobjectname, ISimObjectCreator*
const creator);
48 virtual void OdeFcn(
const double T,
const double *
const X,
double *
const XDot,
const bool bIsMajorTimeStep);
54 const double*
outConnectorPos(
const double T,
const double*
const X,
const int index);
57 const double*
outConnectorVel(
const double T,
const double*
const X,
const int index);
59#ifdef FH_VISUALIZATION
62 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
65 virtual void RenderUpdate(
const double T,
const double*
const X);
103#ifdef FH_VISUALIZATION
106 const Ogre::Root* m_OgreRoot;
107 Ogre::SceneNode* m_renderNode;
Definition: C6DBody.h:128
Definition: CBottomRing.h:38
const double * outConnectorVel(const double T, const double *const X, const int index)
Writes connector velocities to the output ports.
double ** m_OutConnectorPosGlobal
Holds pointers to all net connection pos arrays.
Definition: CBottomRing.h:79
double m_adInertiaMoment[3]
Inertia matrix diagonal.
Definition: CBottomRing.h:99
double m_dWt
Wall thickness.
Definition: CBottomRing.h:94
double m_dMass
Mass.
Definition: CBottomRing.h:98
double ** m_aadNetConnectPos
Local connector coordinates, array of array of double (size m_iNumConnectors x 3)
Definition: CBottomRing.h:82
int m_iNumConnectors
Number of external connectors.
Definition: CBottomRing.h:75
double m_dDamping
Simple linear damping.
Definition: CBottomRing.h:100
double m_dRho
Density.
Definition: CBottomRing.h:97
double ** m_aadNetMomentLocal
Net force in local coordinats, array of array of double (size m_iNumConnectors x 3)
Definition: CBottomRing.h:85
double ** m_OutConnectorVel
Holds pointers to all net connection vel arrays.
Definition: CBottomRing.h:80
virtual void OdeFcn(const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
void CalcConnectorPosGlobal(const double T, const double *const X, const int index)
Calculates the global positions of the connectors.
const double * outConnectorPos(const double T, const double *const X, const int index)
Writes connector positions to the output ports.
double m_dR
Radius from equi. center to centerline.
Definition: CBottomRing.h:93
double m_dh
Vertical offset of torus plane from local xy-plane.
Definition: CBottomRing.h:96
double m_CentrePos[3]
Centre pos of bottom ring output.
Definition: CBottomRing.h:87
double m_Diameter
Diameter of cage.
Definition: CBottomRing.h:91
double m_dI
Moment of inertia.
Definition: CBottomRing.h:92
CBottomRing(const string &simobjectname, ISimObjectCreator *const creator)
The constructor sets the pointer to the output object and the parser object.
~CBottomRing()
The destructor cleans up.
double ** m_aadNetForceLocal
Net force in local coordinats, array of array of double (size m_iNumConnectors x 3)
Definition: CBottomRing.h:84
double m_dRr
Pipe radius.
Definition: CBottomRing.h:95
const double * outCentrePos(const double T, const double *const X)
Writes centre position to the output ports.
ISignalPort ** m_aIINetForce
Array of indices to connector forces in input vector.
Definition: CBottomRing.h:76
Class modelling a Net cage.
Definition: CBottomRing.h:35