Marine systems simulation
WaveDriftVeres.h
1#ifndef WaveDriftVeres_h__
2#define WaveDriftVeres_h__
3
4#include "WaveDrift.h"
5#include "../../AzimuthCurve.h"
6
7namespace Ship{
9 {
10 public:
11 WaveDriftForceVeres( const std::string &fname)
12 {
13 Read(fname);
14 ScaleFactor = 1025*9.81*B*B;
15 }
16
17 void Read( const std::string &fname );
18
19 std::complex<double> GetRAOValue(int DOF, double ShipSpeed, double WaveFrequency, double WaveDirection);
20 private:
21
22 double Lpp,B;
23 double ScaleFactor;
24
25 std::vector<double> Velocities;
26 std::vector<double> Directions;
27 std::vector<double> Frequencies;
28 std::vector<std::vector< std::vector<double> > > SurgeForce;
29 std::vector<std::vector< std::vector<double> > > SwayForce;
30 std::vector<std::vector< std::vector<double> > > YawMoment;
31
32 std::vector<std::pair<double,AzimuthCurve<double>** > >* m_AzimuthRAO;
33 };
34}
35#endif // WaveDriftVeres_h__
Definition: WaveDriftVeres.h:9
Definition: WaveDrift.h:10
Simple waypoint object.
Definition: CableAttach.h:16