25#ifndef DUMUX_VAN_GENUCHTEN_PARAMS_HH
26#define DUMUX_VAN_GENUCHTEN_PARAMS_HH
30#include <dune/common/float_cmp.hh>
42template<
class ScalarT>
61 template<
class OtherParams>
64 return Dune::FloatCmp::eq(vgAlpha_, otherParams.vgAlpha(), 1e-6*vgAlpha_)
65 && Dune::FloatCmp::eq(vgn_, otherParams.vgn(), 1e-6*vgn_)
66 && Dune::FloatCmp::eq(vgl_, otherParams.vgl(), 1e-6*vgl_);
97 { vgm_ = m; vgn_ = 1/(1 - vgm_); }
113 { vgn_ = n; vgm_ = 1 - 1/vgn_; }
Specification of the material parameters for the van Genuchten-Mualem constitutive relations.
Definition: vangenuchtenparams.hh:44
Scalar vgAlpha() const
Return the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:73
VanGenuchtenParams()
Definition: vangenuchtenparams.hh:48
VanGenuchtenParams(Scalar vgAlpha, Scalar vgn, Scalar vgl=0.5)
Definition: vangenuchtenparams.hh:51
void setVgAlpha(Scalar v)
Set the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:80
Scalar vgl() const
Return the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:119
void setVgl(Scalar l)
Set the pore-connectivity parameter ( ) of Mualem's relative permeability curve.
Definition: vangenuchtenparams.hh:127
bool operator==(const OtherParams &otherParams) const
Equality comparison with another set of params.
Definition: vangenuchtenparams.hh:62
void setVgm(Scalar m)
Set the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:96
Scalar vgn() const
Return the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:103
Scalar vgm() const
Return the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:87
void setVgn(Scalar n)
Set the shape parameter of van Genuchten's curve.
Definition: vangenuchtenparams.hh:112
ScalarT Scalar
Definition: vangenuchtenparams.hh:46