4#include "sfh/constants.h"
13typedef Eigen::Matrix<double,3,1> vec3;
20 CStaticBuoy(
const string& simObjectName, ISimObjectCreator*
const creator);
21 virtual void FinalSetup(
const double T,
const double*
const X, ISimObjectCreator*
const pCreator);
23 void OdeFcn(
const double T ,
const double*
const X,
double*
const XDot,
const bool IsMajorTimeStep);
25#ifdef FH_VISUALIZATION
26 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
27 void RenderUpdate(
const double T,
const double*
const X);
30 const virtual double* Pos(
const double T,
const double*
const X);
31 const virtual double* Vel(
const double T,
const double*
const X);
35 ISignalPort* m_ForceIn;
59#ifdef FH_VISUALIZATION
60 Ogre::SceneNode* m_renderNode;
Definition: CStaticBuoy.h:18
double m_Cd
Projected area for drag calculation.
Definition: CStaticBuoy.h:47
double m_vel[3]
Position of cable connectors (output variable)
Definition: CStaticBuoy.h:42
double m_axy
Drag coefficient circular cylinder (x,y)
Definition: CStaticBuoy.h:50
ISignalPort * m_Current
Input port. The external force from chains acting on the buoy.
Definition: CStaticBuoy.h:36
double m_dragArea
Radius of the buoy.
Definition: CStaticBuoy.h:46
double m_bz
Simplified potential damping x,y direction.
Definition: CStaticBuoy.h:53
int m_posIndex
Input port. Water current experienced by the buoy.
Definition: CStaticBuoy.h:38
double m_rho
Simplified potential damping z direction.
Definition: CStaticBuoy.h:54
double m_radius
Mass of the buoy.
Definition: CStaticBuoy.h:45
double m_pos[3]
The index of the velocity state in the state array.
Definition: CStaticBuoy.h:41
double m_g
Water density.
Definition: CStaticBuoy.h:55
double m_mass
Velocity of cable connectors (output variable)
Definition: CStaticBuoy.h:44
double m_bxy
Simplified added mass z direction.
Definition: CStaticBuoy.h:52
double m_az
Simplified added mass x,y direction.
Definition: CStaticBuoy.h:51
int m_velIndex
The index of the position state in the state array.
Definition: CStaticBuoy.h:39
Class modelling a Net cage.
Definition: CBottomRing.h:35