25#ifndef DUMUX_VAN_GENUCHTEN_PARAMS_HH
26#define DUMUX_VAN_GENUCHTEN_PARAMS_HH
28#include <dune/common/float_cmp.hh>
40template<
class ScalarT>
59 template<
class OtherParams>
62 return Dune::FloatCmp::eq(vgAlpha_, otherParams.vgAlpha(), 1e-6*vgAlpha_)
63 && Dune::FloatCmp::eq(vgn_, otherParams.vgn(), 1e-6*vgn_)
64 && Dune::FloatCmp::eq(vgl_, otherParams.vgl(), 1e-6*vgl_);
95 { vgm_ = m; vgn_ = 1/(1 - vgm_); }
111 { vgn_ = n; vgm_ = 1 - 1/vgn_; }
Specification of the material parameters for the van Genuchten-Mualem constitutive relations.
Definition: vangenuchtenparams.hh:42
Scalar vgAlpha() const
Return the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:71
VanGenuchtenParams()
Definition: vangenuchtenparams.hh:46
VanGenuchtenParams(Scalar vgAlpha, Scalar vgn, Scalar vgl=0.5)
Definition: vangenuchtenparams.hh:49
void setVgAlpha(Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:78
Scalar vgl() const
Return the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:117
void setVgl(Scalar l)
Set the pore-connectivity parameter ( ) of Mualem's relative permeability curve.
Definition: vangenuchtenparams.hh:125
bool operator==(const OtherParams &otherParams) const
Equality comparison with another set of params.
Definition: vangenuchtenparams.hh:60
void setVgm(Scalar m)
Set the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:94
Scalar vgn() const
Return the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:101
Scalar vgm() const
Return the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:85
void setVgn(Scalar n)
Set the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:110
ScalarT Scalar
Definition: vangenuchtenparams.hh:44