25 "type",
"RelativePermeabilityNonWettingPhaseVanGenuchtenMualem");
26 DBUG(
"Create RelPermNonWettingPhaseVanGenuchtenMualem medium property");
43 auto const min_relative_permeability =
50 if (min_relative_permeability <= 0.0 || min_relative_permeability > 1.0)
53 "The value for min_relative_permeability of "
54 "RelativePermeabilityNonWettingPhaseVanGenuchtenMualem is {:g}, "
55 "which falls outside of the range of (0, 1]",
56 min_relative_permeability);
58 if (a < 0 || !std::isfinite(a))
61 "The value of the enhancement_factor for the nonwetting relative "
62 "permeability must be non-negative and finite."
63 "The value is {:g}, which is out of bounds.",
67 return std::make_unique<RelPermNonWettingPhaseVanGenuchtenMualem>(
69 exponent, min_relative_permeability, a);