-
Notifications
You must be signed in to change notification settings - Fork 0
/
SJHydroPointModel.h
33 lines (25 loc) · 1.07 KB
/
SJHydroPointModel.h
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
#ifndef HYDROPOINTMODEL_H
#define HYDROPOINTMODEL_H
using namespace openworld;
class SJHydroPointModel : public SJHydroModel<double, double, bool> {
protected:
// Inputs
PartialConfidenceTimeSeries<double>* precipitation;
PartialConfidenceTimeSeries<double>* surfaceTemp;
SnowPointModel* snowModel;
double elevation;
double mmdayToVolume;
list<double> outFlowRain;
list<double> outFlowMelt;
Measure now;
public:
SJHydroPointModel(Indicator timeind, double meltDegreeDayFactor, double meltDegreeDaySlope, double rainRunoffCoefficient, double meltRunoffCoefficient, double groundCoefficient, double groundToBaseflowDay, double rainOnSnowCoefficient, double surfaceEvaporationFactor, double riverEvaporationFactor, doubl mmdayToVolume);
SJHydroPointModel(SJHydroPointModel& copy);
~SJHydroPointModel();
void setPrecipitation(PartialConfidenceTimeSeries<double>* precipitation);
void setTemperature(PartialConfidenceTimeSeries<double>* surfaceTemp);
void setSnowModel(SnowPointModel* snowModel);
void setElevation(double elevation);
void stepDay();
};
#endif