53 const double p_cap_max,
const double exponent);
57 if (!std::holds_alternative<Medium*>(
scale_))
60 "The property 'SaturationExponential' is implemented on the "
61 "'media' scale only.");
68 double const )
const override;
73 double const )
const override;
79 double const )
const override;
virtual PropertyDataType value() const
std::variant< Medium *, Phase *, Component * > scale_
A simplistic soil characteristics function.
PropertyDataType dValue(VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &, double const, double const) const override
const double residual_gas_saturation_
Residual saturation of the liquid phase.
const double exponent_
Exponent to govern the shape of the curve.
void checkScale() const override
SaturationExponential(std::string name, const double residual_liquid_saturation, const double residual_gas_saturation, const double p_cap_max, const double exponent)
const double residual_liquid_saturation_
Residual saturation of the gas phase.
PropertyDataType d2Value(VariableArray const &variable_array, Variable const, Variable const, ParameterLib::SpatialPosition const &, double const, double const) const override
Default implementation: 2nd derivative of any constant property is zero.
@ residual_liquid_saturation
@ residual_gas_saturation
std::variant< double, Eigen::Matrix< double, 2, 1 >, Eigen::Matrix< double, 3, 1 >, Eigen::Matrix< double, 2, 2 >, Eigen::Matrix< double, 3, 3 >, Eigen::Matrix< double, 4, 1 >, Eigen::Matrix< double, 6, 1 >, Eigen::MatrixXd > PropertyDataType