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
31 [[nodiscard]] bool Init() override;
32
36 void Reset() override;
37
44 [[nodiscard]] bool Apply(double date) override;
45
51 const string& GetLandCoverName() const {
52 return _landCoverName;
53 }
54
60 const axi& GetHydroUnitIds() const {
61 return _hydroUnitIds;
62 }
63
69 const axxd& GetLookupTableArea() const {
70 return _tableArea;
71 }
72
78 const axxd& GetLookupTableVolume() const {
79 return _tableVolume;
80 }
81
82 protected:
83 string _landCoverName;
84 axi _hydroUnitIds;
85 axxd _tableArea;
86 axxd _tableVolume;
87 axd _initialGlacierWE;
88};
89
90#endif // HYDROBRICKS_ACTION_GLACIER_EVOLUTION_AREA_SCALING_H
Definition ActionGlacierEvolutionAreaScaling.h:7
bool Apply(double date) override
Definition ActionGlacierEvolutionAreaScaling.cpp:75
const axxd & GetLookupTableVolume() const
Definition ActionGlacierEvolutionAreaScaling.h:78
void Reset() override
Definition ActionGlacierEvolutionAreaScaling.cpp:70
bool Init() override
Definition ActionGlacierEvolutionAreaScaling.cpp:19
const string & GetLandCoverName() const
Definition ActionGlacierEvolutionAreaScaling.h:51
const axxd & GetLookupTableArea() const
Definition ActionGlacierEvolutionAreaScaling.h:69
const axi & GetHydroUnitIds() const
Definition ActionGlacierEvolutionAreaScaling.h:60
void AddLookupTables(int month, const string &landCoverName, const axi &hydroUnitIds, const axxd &areas, const axxd &volumes)
Definition ActionGlacierEvolutionAreaScaling.cpp:9
Definition Action.h:7