26#ifndef DUMUX_BROOKS_COREY_PARAMS_HH
27#define DUMUX_BROOKS_COREY_PARAMS_HH
29#include <dune/common/float_cmp.hh>
41template <
class ScalarT>
60 template<
class OtherParams>
63 return Dune::FloatCmp::eq(pe_, otherParams.pe(), 1e-6*pe_)
64 && Dune::FloatCmp::eq(lambda_, otherParams.lambda(), 1e-6*lambda_);
Some templates to wrap the valgrind macros.
void SetUndefined(const T &value)
Make the memory on which an object resides undefined.
Definition: valgrind.hh:102
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Specification of the material parameters for the Brooks Corey constitutive relations.
Definition: brookscoreyparams.hh:43
Scalar pe() const
Returns the entry pressure in .
Definition: brookscoreyparams.hh:70
void setLambda(Scalar v)
Set the lambda shape parameter .
Definition: brookscoreyparams.hh:89
void setPe(Scalar v)
Set the entry pressure in ].
Definition: brookscoreyparams.hh:76
bool operator==(const OtherParams &otherParams) const
Equality comparison with another set of params.
Definition: brookscoreyparams.hh:61
BrooksCoreyParams()
Definition: brookscoreyparams.hh:47
Scalar lambda() const
Returns the lambda shape parameter .
Definition: brookscoreyparams.hh:83
ScalarT Scalar
Definition: brookscoreyparams.hh:45
BrooksCoreyParams(Scalar pe, Scalar lambda)
Definition: brookscoreyparams.hh:52