64 "RelativePermeabilityVanGenuchten::dValue is implemented for "
65 "derivatives with respect to liquid saturation only.");
82 double const S_eff_to_1_over_m = std::pow(S_eff, 1. /
m_);
83 double const v = 1. - std::pow(1. - S_eff_to_1_over_m,
m_);
84 double const sqrt_S_eff = std::sqrt(S_eff);
85 double const k_rel = sqrt_S_eff * v * v;
92 return (0.5 * v * v / sqrt_S_eff +
93 2. * sqrt_S_eff * v * std::pow(1. - S_eff_to_1_over_m,
m_ - 1.) *
94 S_eff_to_1_over_m / S_eff) /
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