1#ifndef HYDROBRICKS_PROCESS_OUTFLOW_LINEAR_THRESHOLD_H
2#define HYDROBRICKS_PROCESS_OUTFLOW_LINEAR_THRESHOLD_H
6#include "ProcessOutflow.h"
34 [[nodiscard]]
bool IsValid()
const override;
54 assert(_responseFactor);
55 return *_responseFactor;
62 assert(_responseFactor && _threshold);
63 return (*_responseFactor) * (*_threshold);
67 const float* _responseFactor;
68 const float* _threshold;
73 const vecDouble&
GetRates()
override;
Definition ProcessOutflowLinearThreshold.h:18
bool HasLinearResponse() const override
Definition ProcessOutflowLinearThreshold.cpp:41
double GetLinearResponseRate() const override
Definition ProcessOutflowLinearThreshold.h:53
double GetLinearResponseOffset() const override
Definition ProcessOutflowLinearThreshold.h:61
static void RegisterProcessSettings(SettingsModel *modelSettings)
Definition ProcessOutflowLinearThreshold.cpp:11
void SetParameters(const ProcessSettings &processSettings) override
Definition ProcessOutflowLinearThreshold.cpp:35
bool IsValid() const override
Definition ProcessOutflowLinearThreshold.cpp:19
const vecDouble & GetRates() override
Definition ProcessOutflowLinearThreshold.cpp:49
Definition ProcessOutflow.h:8
Definition SettingsModel.h:74
Definition WaterContainer.h:10
Definition SettingsModel.h:32