Table Output: Revise TOLCRIT Interpretation

This commit switches the previous interpretation of notionally zero
relative permeability in Flow's .INIT-file output.  We now treat all
relative permeability values less than *or equal to* TOLCRIT as
zero.

This change is for increased ECLIPSE compatibility.
This commit is contained in:
Bård Skaflestad
2020-04-30 17:48:08 +02:00
parent 83429bf908
commit bcdc8bb119

View File

@@ -232,7 +232,7 @@ namespace { namespace SatFunc {
std::transform(begin, end, dest,
[tolcrit](const double kr) -> double
{
return (kr < tolcrit) ? 0.0 : kr;
return (kr > tolcrit) ? kr : 0.0;
});
}