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