Skip to content
Snippets Groups Projects
Commit dce8c968 authored by Norbert Grunwald's avatar Norbert Grunwald
Browse files

changes according to review

parent 1b95e9c8
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ std::unique_ptr<RelPermBrooksCorey> createRelPermBrooksCorey(
auto const exponent =
//! \ogs_file_param{prj__media__medium__properties__property__RelPermBrooksCorey__lambda}
config.getConfigParameter<double>("lambda");
if (exponent == 0.)
if (exponent <= 0.)
{
OGS_FATAL("Exponent 'lambda' must be positive.");
}
......
......@@ -26,7 +26,6 @@ RelPermBrooksCorey::RelPermBrooksCorey(
const double min_relative_permeability_liquid,
const double min_relative_permeability_gas,
const double exponent)
: _residual_liquid_saturation(residual_liquid_saturation),
_residual_gas_saturation(residual_gas_saturation),
_min_relative_permeability_liquid(min_relative_permeability_liquid),
......
......@@ -45,7 +45,7 @@ public:
const double /*_min_relative_permeability_gas*/,
const double /*exponent*/
);
/// This method assigns a pointer to the meterial object that is the owner
/// This method assigns a pointer to the material object that is the owner
/// of this property
void setScale(
std::variant<Medium*, Phase*, Component*> scale_pointer) override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment