21 template <
class Model>
23 : cut_fraction_(cut_fraction)
27 template <
class Model>
46 template <
class Model>
49 return model_.conductivity_(p_head);
52 template <
class Model>
55 return model_.conductivity_(p_head);
58 template <
class Model>
61 return model_.water_content_(p_head);
64 template <
class Model>
67 return model_.water_content_(p_head);
75 VanGenuchten::VanGenuchten()
76 : Bpar(0.5), Ppar(2), K_lower_limit(1.0E-20)
93 FFQs = pow(1 - pow(Qs_relative, 1/
m),
m);
130 T Kr, Q_unscaled, Q_cut_unscaled, FFQ;
133 Q_unscaled =
Q_rel(h);
135 FFQ = pow(1 - pow(Q_unscaled,1/
m),
m);
171 T Q = this->
Q_rel(h);
T conductivity_(const T &h) const
k(h)=t(h)**(0.5)* (1- ((h)**n/(1+(h)**n)) **m)**2
auto water_content_diff(const DiffDouble &p_head) -> DiffDouble const override
T Q_rel(const T &h) const
void reset_(SoilData soil)
#define ASSERT_GT_DBG(a, b)
Definition of comparative assert macro (Greater Than) only for debug mode.
fadbad::B< double > DiffDouble
T conductivity_(const T &h) const
void reset(SoilData data) override
double water_content(const double &p_head) const override
T water_content_(const T &h) const
double conductivity(const double &p_head) const override
auto conductivity_diff(const DiffDouble &p_head) -> DiffDouble const override
T Q_rel_inv(const T &q) const
SoilModelImplBase(double cut_fraction=0.999)
#define ASSERT_LT_DBG(a, b)
Definition of comparative assert macro (Less Than) only for debug mode.