66 double const dt)
const
71 "RelPermLiakopoulos::dValue is implemented for derivatives with "
72 "respect to liquid saturation only.");
78 auto const s_L = std::visit(
79 [&variable_array, &pos, t, dt](
auto&& scale) ->
double
88 const double s_L_within_range = std::min(std::max(s_L_res, s_L), s_L_max);
93 return a * b * std::pow(1. - s_L_within_range, b - 1.);
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