Marine systems simulation
CFloatingCollar6DOF.h
1#ifndef C_FLOATING_COLLAR_6DOF_H
2#define C_FLOATING_COLLAR_6DOF_H
3
10#include "CFloatingCollar.h"
11#include "ISimObjectCreator.h"
12#include <string>
13
14namespace Netcage {
15
17
18public:
19
21 CFloatingCollar6DOF(const string& simobjectname, ISimObjectCreator* const creator);
22
25
27 virtual void OdeFcn(const double T , const double* const X, double* const XDot, const bool IsMajorTimeStep);
28
29
30protected:
31
33 void ModalDiffractionForce (const double T, const double* const X, const int nMode, const int nElem);
34 void ModalFKForce (const double T, const double* const X, const int nMode, const int nElem);
35
37 double m_F_Diffr [4];
38 double m_F_FK [4];
40
41
42private:
43
44};
45
46} // namespace
47#endif
Definition: CFloatingCollar6DOF.h:16
CFloatingCollar6DOF(const string &simobjectname, ISimObjectCreator *const creator)
The constructor sets the pointer to the output object and the parser object.
double m_F_Diffr[4]
Variables.
Definition: CFloatingCollar6DOF.h:37
void ModalDiffractionForce(const double T, const double *const X, const int nMode, const int nElem)
Functions.
virtual void OdeFcn(const double T, const double *const X, double *const XDot, const bool IsMajorTimeStep)
Ode Function. Calculates response for each time step.
double m_F_FK[4]
Diffraction force in z-direction. Modal ~ cos(n*beta) and ~sin(n*beta).
Definition: CFloatingCollar6DOF.h:38
~CFloatingCollar6DOF()
Destructor. Deletes all dynamic allocated memory.
int m_NCalcElem
Froude-Kriloff forze in z-direction. Modal ~ cos(n*beta) and ~sin(n*beta).
Definition: CFloatingCollar6DOF.h:39
Definition: CFloatingCollar.h:134
Class modelling a Net cage.
Definition: CBottomRing.h:35