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
// Hydrograph.cpp
#include <vector>
#include "Hydrograph.h"
namespace math1d_cl
{
std::vector<double>& Hydrograph::getQIn()
{
return m_qIn;
}
void Hydrograph::setQIn(std::vector<double>& qIn)
{
m_qIn = qIn;
}
std::vector<double>& Hydrograph::getHIn()
{
return m_hIn;
}
void Hydrograph::setHIn(const std::vector<double>& hIn)
{
m_hIn = hIn;
}
std::vector<double>& Hydrograph::getQOut()
{
return m_qOut;
}
void Hydrograph::setQOut(const std::vector<double>& qOut)
{
m_qOut = qOut;
}
std::vector<double>& Hydrograph::getHOut()
{
return m_hOut;
}
void Hydrograph::setHOut(const std::vector<double>& hOut)
{
m_hOut = hOut;
}
void Hydrograph::clear()
{
m_qIn.clear();
m_hIn.clear();
m_qOut.clear();
m_hOut.clear();
}
}