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
37 bool Apply(double date) override;
38
45 return _landCoverName;
46 }
47
54 return _hydroUnitIds;
55 }
56
63 return _tableArea;
64 }
65
72 return _tableVolume;
73 }
74
75 protected:
76 int _lastRow{0};
77 string _landCoverName;
78 axi _hydroUnitIds;
79 axxd _tableArea;
80 axxd _tableVolume;
81 double _initialGlacierWE{0.0};
82};
83
84#endif // HYDROBRICKS_ACTION_GLACIER_EVOLUTION_DELTA_H_H
Definition ActionGlacierEvolutionDeltaH.h:7
bool Init() override
Definition ActionGlacierEvolutionDeltaH.cpp:23
string GetLandCoverName()
Definition ActionGlacierEvolutionDeltaH.h:44
axxd GetLookupTableVolume()
Definition ActionGlacierEvolutionDeltaH.h:71
axxd GetLookupTableArea()
Definition ActionGlacierEvolutionDeltaH.h:62
void AddLookupTables(int month, const string &landCoverName, const axi &hydroUnitIds, const axxd &areas, const axxd &volumes)
Definition ActionGlacierEvolutionDeltaH.cpp:9
axi GetHydroUnitIds()
Definition ActionGlacierEvolutionDeltaH.h:53
bool Apply(double date) override
Definition ActionGlacierEvolutionDeltaH.cpp:60
Definition Action.h:7