mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-08-13 08:45:05 -05:00
Fix Lower Bound Conditions for Three Point Checks
These are supposed to verify that the displacing saturation is strictly between the critical and the maximum saturation values.
This commit is contained in:
@@ -51,7 +51,7 @@ testImpl(const EclEpsScalingPointsInfo<Scalar>& endPoints)
|
||||
|
||||
const auto sr = Scalar{1} - (this->sogcr_ + this->swl_);
|
||||
|
||||
const auto low = ! (this->swl_ < sr);
|
||||
const auto low = ! (this->sgcr_ < sr);
|
||||
const auto high = ! (sr < this->sgu_);
|
||||
|
||||
if (low || high) {
|
||||
@@ -86,7 +86,7 @@ testImpl(const EclEpsScalingPointsInfo<Scalar>& endPoints)
|
||||
|
||||
const auto sr = Scalar{1} - (this->sowcr_ + this->sgl_);
|
||||
|
||||
const auto low = ! (this->sgl_ < sr);
|
||||
const auto low = ! (this->swcr_ < sr);
|
||||
const auto high = ! (sr < this->swu_);
|
||||
|
||||
if (low || high) {
|
||||
|
||||
Reference in New Issue
Block a user