hydrobricks
Loading...
Searching...
No Matches
ActionGlacierEvolutionDeltaH.h
1#ifndef HYDROBRICKS_ACTION_GLACIER_EVOLUTION_DELTA_H_H
2#define HYDROBRICKS_ACTION_GLACIER_EVOLUTION_DELTA_H_H
3
4#include "Action.h"
5#include "Includes.h"
6
8 public:
10
11 ~ActionGlacierEvolutionDeltaH() override = default;
12
23 void AddLookupTables(int month, const string& landCoverName, const axi& hydroUnitIds, const axxd& areas,
24 const axxd& volumes);
25
29 bool Init() override;
30
34 void Reset() override;
35
42 bool Apply(double date) override;
43
50 return _landCoverName;
51 }
52
59 return _hydroUnitIds;
60 }
61
68 return _tableArea;
69 }
70
77 return _tableVolume;
78 }
79
80 protected:
81 int _lastRow{0};
82 string _landCoverName;
83 axi _hydroUnitIds;
84 axxd _tableArea;
85 axxd _tableVolume;
86 double _initialGlacierWE{0.0};
87};
88
89#endif // HYDROBRICKS_ACTION_GLACIER_EVOLUTION_DELTA_H_H
Definition ActionGlacierEvolutionDeltaH.h:7
bool Init() override
Definition ActionGlacierEvolutionDeltaH.cpp:23
string GetLandCoverName()
Definition ActionGlacierEvolutionDeltaH.h:49
axxd GetLookupTableVolume()
Definition ActionGlacierEvolutionDeltaH.h:76
axxd GetLookupTableArea()
Definition ActionGlacierEvolutionDeltaH.h:67
void AddLookupTables(int month, const string &landCoverName, const axi &hydroUnitIds, const axxd &areas, const axxd &volumes)
Definition ActionGlacierEvolutionDeltaH.cpp:9
void Reset() override
Definition ActionGlacierEvolutionDeltaH.cpp:64
axi GetHydroUnitIds()
Definition ActionGlacierEvolutionDeltaH.h:58
bool Apply(double date) override
Definition ActionGlacierEvolutionDeltaH.cpp:75
Definition Action.h:7