Marine systems simulation
SpreaderModel.h
1
10
11#ifndef SpreaderModel_H
12#define SpreaderModel_H
13
14#include <SimObject.h>
15#include "sfh/text.h"
16#include <vector>
17#define _USE_MATH_DEFINES
18#include <math.h>
19
21{
22public:
23
24
25
27 SpreaderModel(ISimObjectCreator* pCreator);
28
29 // Akva group spreader pattern:
30 void akvaGroupSpreader(vector<vector<double>> &field, int centerX, int centerY, double dx, double feederAngle,
31 double airSpeed, int spreaderType, int tiltUp);
32
33 // Small tank even surface spread
34 void fishTankSpread(vector<vector<double>> &field, int centerX, int centerY, double dx);
35 void feedAdditionAsExperimentalO2Proxy(vector<vector<double>> &field, int centerX, int centerY, double dx);
36
37#ifdef FH_VISUALIZATION
38
39#endif
40
41
42protected:
43
44 double pelletSpread(double distance, double angle, double airspeed, int spreaderType, int tiltUp);
45
46 //virtual const double* Position(const double dT, const double* const adX);
47
48 ISimObjectCreator* m_pCreator;
49
50 vector<vector<double>> m_spreader_param;
51
52
53#ifdef FH_VISUALIZATION
54
55#endif
56};
57
58
59#endif
60
Definition: SpreaderModel.h:21
SpreaderModel(ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.