26#ifndef DUMUX_BROOKS_COREY_PARAMS_HH
27#define DUMUX_BROOKS_COREY_PARAMS_HH
29#include <dune/common/float_cmp.hh>
40template <
class ScalarT>
55 template<
class OtherParams>
58 return Dune::FloatCmp::eq(pe_, otherParams.pe(), 1e-6*pe_)
59 && Dune::FloatCmp::eq(lambda_, otherParams.lambda(), 1e-6*lambda_);
Specification of the material parameters for the Brooks Corey constitutive relations.
Definition: brookscoreyparams.hh:42
Scalar pe() const
Returns the entry pressure in .
Definition: brookscoreyparams.hh:65
void setLambda(Scalar v)
Set the lambda shape parameter .
Definition: brookscoreyparams.hh:84
void setPe(Scalar v)
Set the entry pressure in ].
Definition: brookscoreyparams.hh:71
bool operator==(const OtherParams &otherParams) const
Equality comparison with another set of params.
Definition: brookscoreyparams.hh:56
Scalar lambda() const
Returns the lambda shape parameter .
Definition: brookscoreyparams.hh:78
ScalarT Scalar
Definition: brookscoreyparams.hh:44
BrooksCoreyParams(Scalar pe, Scalar lambda)
Definition: brookscoreyparams.hh:48
BrooksCoreyParams()=default