Marine systems simulation
BottomRingCollarConnectionCoRiBo.h
1#pragma once
6#include <sfh/text.h>
7
8#include "BottomRingCoRiBo.h"
9#include "Cable/CollarChain.h"
10namespace Netcage {
12 public:
13 EIGEN_MAKE_ALIGNED_OPERATOR_NEW;
14 BottomRingCollarConnectionCoRiBo(const std::string& name, ISimObjectCreator* const creator);
16
17 virtual void OdeFcn(const double T, const double *const X, double *const XDot, const bool IsMajorTimeStep);
18 virtual void InitialConditionSetup(const double, const double *const, double* const updatedIC, ISimObjectCreator* const);
19 virtual void FinalSetup(const double T, const double *const X, ISimObjectCreator* const creator);
20
21 virtual void compute2(const double T, const double * const X);
22
23#ifdef FH_VISUALIZATION
24 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator);
25 virtual void RenderUpdate(const double T, const double* const X);
26#endif
27 virtual void PreOdeFcn(const double T, const double *const X, IStateUpdater* updater);
28
29 const double *forceFloater(const double T, const double * const X, int index);
30
31 protected:
32 ICommonComputation *m_compute2;
33 int m_numCollarChain;
34 double **m_forceFloater;
35 std::vector<CollarChain*> m_chains;
36 ISignalPort **m_floaterPosition;
37 ISignalPort **m_floaterVelocity;
38 };
39}
Definition: BottomRingCoRiBo.h:12
Definition: BottomRingCollarConnectionCoRiBo.h:11
Class modelling a Net cage.
Definition: CBottomRing.h:35