50#ifndef FLOATER_LIN_VERIFICATION_H
51#define FLOATER_LIN_VERIFICATION_H
53#include <CEnvironment.h>
91 virtual void FinalSetup(
const double T,
const double*
const X, ISimObjectCreator*
const pCreator);
104 void OdeFcn(
const double T ,
const double*
const X,
double*
const XDot,
const bool IsMajorTimeStep);
107#ifdef FH_VISUALIZATION
116 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
126 void RenderUpdate(
const double T,
const double*
const X);
138 const double*
Position(
const double T,
const double*
const X);
149 const double*
Velocity(
const double T,
const double*
const X);
183 double AddMass33[100];
184 double AddMass22_Lim;
185 double AddMass22_Inf;
186 double AddMass22_Unity;
189 double WaveCouplingOn;
190 double PosRadSpring[4];
191 double ModalSpringForce;
192 double DeltaL_RadSpring[4];
194 double b22_surge[100];
207 void BesselFunc(
double k,
double R,
int n,
int N);
208 void KnFunc(
int n,
int N);
209 void AddMass33Fcn(
double p,
double c,
double R,
double Kn,
int n);
210 void AddMass22Fcn(
double p,
double c);
212#ifdef FH_VISUALIZATION
213 Ogre::SceneNode* m_RenderNode;
214 Ogre::SceneNode** m_ManualObjectNodes;
Definition: CEnvironment.h:10
Definition: FloaterLinVerification.h:73
int m_numElements
The index of the velocity state in the state array.
Definition: FloaterLinVerification.h:156
const double * Velocity(const double T, const double *const X)
Output port. Returns current velocity.
int VelocityIndex
The index of the position state in the state array.
Definition: FloaterLinVerification.h:155
CEnvironment * m_Environment
Number of elements in visualization.
Definition: FloaterLinVerification.h:157
const double * Position(const double T, const double *const X)
Output port. Returns current position.
void OdeFcn(const double T, const double *const X, double *const XDot, const bool IsMajorTimeStep)
Computes object derivatives as a function of time, states and input ports.
FloaterLinVerification(const string &simObjectName, ISimObjectCreator *const creator)
Reads parameters, registers states, input/output ports and shared resources.
Class modelling a Net cage.
Definition: CBottomRing.h:35