25#ifndef DUMUX_REGULARIZED_BROOKS_COREY_PARAMS_HH
26#define DUMUX_REGULARIZED_BROOKS_COREY_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>
64 template<
class OtherParams>
67 return Dune::FloatCmp::eq(thresholdSw_, otherParams.thresholdSw(), 1e-6*thresholdSw_)
80 thresholdSw_ = thresholdSw;
Specification of the material parameters for the Brooks Corey 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
Specification of the material parameters for the Brooks Corey constitutive relations.
Definition: brookscoreyparams.hh:42
bool operator==(const OtherParams &otherParams) const
Equality comparison with another set of params.
Definition: brookscoreyparams.hh:56
ScalarT Scalar
Definition: brookscoreyparams.hh:44
Parameters that are necessary for the regularization of the Brooks-Corey capillary pressure model.
Definition: regularizedbrookscoreyparams.hh:43
Scalar thresholdSw() const
Threshold saturation below which the capillary pressure is regularized.
Definition: regularizedbrookscoreyparams.hh:87
void setThresholdSw(Scalar thresholdSw)
Set the threshold saturation below which the capillary pressure is regularized.
Definition: regularizedbrookscoreyparams.hh:78
RegularizedBrooksCoreyParams(Scalar pe, Scalar lambda)
Definition: regularizedbrookscoreyparams.hh:55
RegularizedBrooksCoreyParams()
Definition: regularizedbrookscoreyparams.hh:49