Marine systems simulation
CNetTwineElement.h
1#ifndef CNetTwineElementTest_h__
2#define CNetTwineElementTest_h__
3#include "sfh/math.h"
4#include "CEnvironment.h"
5#include "CNetTwineElementSpec.h"
6
7
9{
10
11private:
13
14public:
16 bool checkAndInitialize();
17 void update(const double adPosA[3], const double adVelA[3],
18 const double adPosB[3], const double adVelB[3],
19 const double fluidVel[3], const double dRhoWater,
20 double adForceA[3], double adForceB[3] );
21
22 unsigned int m_conn[2];
23 double m_massInWater;
24 double m_weightInWater;
25 unsigned int m_fromNodes[2];
26 double nodeDistance;
27
28 double m_L;
29 double m_D;
30 double m_Dknot;
31 int m_sharedknotA;
32 int m_sharedknotB;
33 double m_Dhyd;
34 double m_E;
35 double m_rho;
36
37 double m_EA;
38 double m_hydLateralA;
39 double m_hydCrossA;
40 double m_hydKnotA;
41
42 double m_vamp;
43 double m_vn[3];
44 double m_vt[3];
45
46
47 double m_tension[3];
48 double m_tangentialDrag[3];
49 double m_normalDrag[3];
50 double m_nodeOffsetA;
51 double m_nodeOffsetB;
52 int m_id;
53 double m_hydSurfaceA;
54};
55
56#endif // CNetCableElementTest_h__
Definition: CNetTwineElementSpec.h:5
Definition: CNetTwineElement.h:9