hydrobricks
Loading...
Searching...
No Matches
ProcessETPrevah.h
1#ifndef HYDROBRICKS_PROCESS_ET_PREVAH_H
2#define HYDROBRICKS_PROCESS_ET_PREVAH_H
3
4#include "Includes.h"
5#include "ProcessETHBV.h"
6
7class LandCover;
8
44 public:
45 explicit ProcessETPrevah(WaterContainer* container);
46
47 ~ProcessETPrevah() override = default;
48
54 static void RegisterProcessSettings(SettingsModel* modelSettings);
55
59 [[nodiscard]] bool IsValid() const override;
60
64 void SetParameters(const ProcessSettings& processSettings) override;
65
72 void AddGateBrick(Brick* brick) override;
73
74 protected:
75 const float* _albedoLand; // snow-free ground albedo [-] (0.2 makes the factor neutral)
76 const float* _potentialFraction; // share evaporating at the potential rate [-]
77 const LandCover* _cover; // cover owning the store, if any (nullptr: the whole unit)
78
82 const vecDouble& GetRates() override;
83};
84
85#endif // HYDROBRICKS_PROCESS_ET_PREVAH_H
Definition Brick.h:22
Definition LandCover.h:10
Definition ProcessETHBV.h:19
Definition ProcessETPrevah.h:43
void AddGateBrick(Brick *brick) override
Definition ProcessETPrevah.cpp:55
const vecDouble & GetRates() override
Definition ProcessETPrevah.cpp:63
void SetParameters(const ProcessSettings &processSettings) override
Definition ProcessETPrevah.cpp:49
bool IsValid() const override
Definition ProcessETPrevah.cpp:21
static void RegisterProcessSettings(SettingsModel *modelSettings)
Definition ProcessETPrevah.cpp:15
Definition SettingsModel.h:87
Definition WaterContainer.h:10
Definition SettingsModel.h:44