26#ifndef DUMUX_EFF_TO_ABS_LAW_PARAMS_HH
27#define DUMUX_EFF_TO_ABS_LAW_PARAMS_HH
29#warning "This header is deprecated. Removal after 3.3. Use new material laws."
31#include <dune/common/float_cmp.hh>
41template <
class EffLawParamsT>
42class [[deprecated("Use new material laws! Removal after 3.3")]]
EffToAbsLawParams :
public EffLawParamsT
44 using EffLawParams = EffLawParamsT;
46 using Scalar =
typename EffLawParams::Scalar;
55 template<
class OtherParams>
58 return Dune::FloatCmp::eq(swr_, otherParams.swr(), 1e-6*swr_)
59 && Dune::FloatCmp::eq(snr_, otherParams.snr(), 1e-6*snr_)
constexpr bool operator==(Tag< T1 >, Tag< T2 >)
Tags are equality comparable and return true if the tagged types are equal.
Definition: tag.hh:46
A default implementation of the parameters for the adapter class to convert material laws from effect...
Definition: 2p/efftoabslawparams.hh:43
void setSnr(Scalar v)
Set the residual nonwetting saturation.
Definition: 2p/efftoabslawparams.hh:84
Scalar snr() const
Return the residual nonwetting saturation.
Definition: 2p/efftoabslawparams.hh:78
EffToAbsLawParams()
Definition: 2p/efftoabslawparams.hh:48
void setSwr(Scalar v)
Set the residual wetting saturation.
Definition: 2p/efftoabslawparams.hh:72
Scalar swr() const
Return the residual wetting saturation.
Definition: 2p/efftoabslawparams.hh:66
typename EffLawParams::Scalar Scalar
Definition: 2p/efftoabslawparams.hh:46