25#ifndef REGULARIZED_VAN_GENUCHTEN_PARAMS_HH
26#define REGULARIZED_VAN_GENUCHTEN_PARAMS_HH
28#include <dune/common/float_cmp.hh>
39template<
class ScalarT>
60 template<
class OtherParams>
63 return Dune::FloatCmp::eq(pcLowSw_, otherParams.pcLowSw(), 1e-6*pcLowSw_)
64 && Dune::FloatCmp::eq(pcHighSw_, otherParams.pcHighSw(), 1e-6*pcHighSw_)
65 && Dune::FloatCmp::eq(krnLowSw_, otherParams.krnLowSw(), 1e-6*krnLowSw_)
66 && Dune::FloatCmp::eq(krwHighSw_, otherParams.krwHighSw(), 1e-6*krwHighSw_)
Specification of the material parameters for the van Genuchten-Mualem constitutive relations.
Parameters that are necessary for the regularization of VanGenuchten "material law".
Definition: regularizedvangenuchtenparams.hh:41
void setPcLowSw(Scalar pcLowSw)
Set the threshold saturation below which the capillary pressure is regularized.
Definition: regularizedvangenuchtenparams.hh:87
Scalar pcLowSw() const
Threshold saturation below which the capillary pressure is regularized.
Definition: regularizedvangenuchtenparams.hh:95
bool operator==(const OtherParams &otherParams) const
Equality comparison with another set of params.
Definition: regularizedvangenuchtenparams.hh:61
void initialize()
Sets some default regularization thresholds.
Definition: regularizedvangenuchtenparams.hh:73
void setPcHighSw(Scalar pcHighSw)
Set the threshold saturation above which the capillary pressure is regularized.
Definition: regularizedvangenuchtenparams.hh:103
RegularizedVanGenuchtenParams()
Definition: regularizedvangenuchtenparams.hh:46
Scalar krnLowSw() const
Threshold saturation below which the relative permeability of the non-wetting phase gets regularized.
Definition: regularizedvangenuchtenparams.hh:132
ScalarT Scalar
Definition: regularizedvangenuchtenparams.hh:43
void setKrwHighSw(Scalar krwHighSw)
Set the threshold saturation above which the relative permeability of the wetting phase gets regulari...
Definition: regularizedvangenuchtenparams.hh:141
void setKrnLowSw(Scalar krnLowSw)
Set the threshold saturation below which the relative permeability of the non-wetting phase gets regu...
Definition: regularizedvangenuchtenparams.hh:123
Scalar pcHighSw() const
Threshold saturation above which the capillary pressure is regularized.
Definition: regularizedvangenuchtenparams.hh:114
Scalar krwHighSw() const
Threshold saturation above which the relative permeability of the wetting phase gets regularized.
Definition: regularizedvangenuchtenparams.hh:150
RegularizedVanGenuchtenParams(Scalar vgAlpha, Scalar vgN)
Definition: regularizedvangenuchtenparams.hh:51
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
bool operator==(const OtherParams &otherParams) const
Equality comparison with another set of params.
Definition: vangenuchtenparams.hh:60