17 "type",
"RelativePermeabilityNonWettingPhaseVanGenuchtenMualem");
18 DBUG(
"Create RelPermNonWettingPhaseVanGenuchtenMualem medium property");
35 auto const min_relative_permeability =
42 if (min_relative_permeability <= 0.0 || min_relative_permeability > 1.0)
45 "The value for min_relative_permeability of "
46 "RelativePermeabilityNonWettingPhaseVanGenuchtenMualem is {:g}, "
47 "which falls outside of the range of (0, 1]",
48 min_relative_permeability);
50 if (a < 0 || !std::isfinite(a))
53 "The value of the enhancement_factor for the nonwetting relative "
54 "permeability must be non-negative and finite."
55 "The value is {:g}, which is out of bounds.",
59 return std::make_unique<RelPermNonWettingPhaseVanGenuchtenMualem>(
61 exponent, min_relative_permeability, a);