Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// ActualData.h
#ifndef ACTUALDATA_H
#define ACTUALDATA_H
#include "MatData.h"
#include "Logger.h"
#include "Limit.h"
namespace math1d_cl
{
class ActualData
{
public:
ActualData(
std::shared_ptr<math1d_cl::MatData> matData,
std::shared_ptr<math1d_cl::Channel> amChannel,
int amChannelIdx,
std::shared_ptr<math1d_cl::Station> amStation,
int amStationIdx,
std::vector<int> upstreamChannels,
double stepCn,
double stepN,
double p,
Limit cnLimit,
Limit nLimit);
std::shared_ptr<math1d_cl::Channel> getamChannel();
int getAmChannelIdx();
std::shared_ptr<math1d_cl::Station> getamStation();
int getAmStationIdx();
std::vector<std::shared_ptr<math1d_cl::Channel>> getNChannels();
std::vector<int> getNChannelsIdx();
std::vector<std::shared_ptr<math1d_cl::Channel>> getCnChannels();
std::vector<int> getCnChannelsIdx();
double getStepCn();
double getStepN();
double getP();
void setCnLimit(Limit cnLimit);
Limit getCnLimit();
void setnLimit(Limit nLimit);
Limit getNLimit();
void setCnDerivation(std::shared_ptr<std::vector<double>> cnDerivation);
std::shared_ptr<std::vector<double>> getCnDerivation();
void setnDerivation(std::shared_ptr<std::vector<double>> nDerivation);
std::shared_ptr<std::vector<double>> getnDerivation();
private:
// Members
std::shared_ptr<math1d_cl::Channel> m_amChannel;
int m_amChannelIdx;
std::shared_ptr<math1d_cl::Station> m_amStation;
int m_amStationIdx;
std::vector<std::shared_ptr<math1d_cl::Channel>> m_nChannels;
std::vector<std::shared_ptr<math1d_cl::Channel>> m_cnChannels;
std::vector<int> m_nChannelsIdx;
std::vector<int> m_cnChannelsIdx;
double m_stepCn;
double m_stepN;
double m_p;
Limit m_cnLimit;
Limit m_nLimit;
std::shared_ptr<std::vector<double>> m_cnDerivation;
std::shared_ptr<std::vector<double>> m_nDerivation;
};
}
#endif