25#ifndef REGULARIZED_VAN_GENUCHTEN_PARAMS_HH
26#define REGULARIZED_VAN_GENUCHTEN_PARAMS_HH
28#warning "This header is deprecated. Removal after 3.3. Use new material laws."
30#include <dune/common/float_cmp.hh>
41template<
class ScalarT>
62 template<
class OtherParams>
65 return Dune::FloatCmp::eq(pcLowSw_, otherParams.pcLowSw(), 1e-6*pcLowSw_)
66 && Dune::FloatCmp::eq(pcHighSw_, otherParams.pcHighSw(), 1e-6*pcHighSw_)
67 && Dune::FloatCmp::eq(krnLowSw_, otherParams.krnLowSw(), 1e-6*krnLowSw_)
68 && Dune::FloatCmp::eq(krwHighSw_, otherParams.krwHighSw(), 1e-6*krwHighSw_)
107 pcHighSw_ = pcHighSw;
127 krnLowSw_ = krnLowSw;
145 krwHighSw_ = krwHighSw;
Specification of the material parameters for the van Genuchten-Mualem constitutive relations.
constexpr bool operator==(Tag< T1 >, Tag< T2 >)
Tags are equality comparable and return true if the tagged types are equal.
Definition: tag.hh:46
Parameters that are necessary for the regularization of VanGenuchten "material law".
Definition: regularizedvangenuchtenparams.hh:43
void setPcLowSw(Scalar pcLowSw)
Set the threshold saturation below which the capillary pressure is regularized.
Definition: regularizedvangenuchtenparams.hh:89
Scalar pcLowSw() const
Threshold saturation below which the capillary pressure is regularized.
Definition: regularizedvangenuchtenparams.hh:97
void initialize()
Sets some default regularization thresholds.
Definition: regularizedvangenuchtenparams.hh:75
void setPcHighSw(Scalar pcHighSw)
Set the threshold saturation above which the capillary pressure is regularized.
Definition: regularizedvangenuchtenparams.hh:105
RegularizedVanGenuchtenParams()
Definition: regularizedvangenuchtenparams.hh:48
Scalar krnLowSw() const
Threshold saturation below which the relative permeability of the nonwetting phase gets regularized.
Definition: regularizedvangenuchtenparams.hh:134
ScalarT Scalar
Definition: regularizedvangenuchtenparams.hh:45
void setKrwHighSw(Scalar krwHighSw)
Set the threshold saturation above which the relative permeability of the wetting phase gets regulari...
Definition: regularizedvangenuchtenparams.hh:143
void setKrnLowSw(Scalar krnLowSw)
Set the threshold saturation below which the relative permeability of the nonwetting phase gets regul...
Definition: regularizedvangenuchtenparams.hh:125
Scalar pcHighSw() const
Threshold saturation above which the capillary pressure is regularized.
Definition: regularizedvangenuchtenparams.hh:116
Scalar krwHighSw() const
Threshold saturation above which the relative permeability of the wetting phase gets regularized.
Definition: regularizedvangenuchtenparams.hh:152
RegularizedVanGenuchtenParams(Scalar vgAlpha, Scalar vgN)
Definition: regularizedvangenuchtenparams.hh:53
Specification of the material parameters for the van Genuchten-Mualem constitutive relations.
Definition: vangenuchtenparams.hh:44