EclHysteresisTwoPhaseLaw: use '<=' instead of '<' to decide whether to use the imbibition or the drainage curve
this does not change the results in any way, but for the Norne deck, it improves performance (i.e., It Must Be Right (TM))...
This commit is contained in:
@@ -229,7 +229,7 @@ public:
|
||||
|
||||
// if it is enabled, use either the drainage or the imbibition curve. if the
|
||||
// imbibition curve is used, the saturation must be shifted.
|
||||
if (Sw < params.krwSwMdc())
|
||||
if (Sw <= params.krwSwMdc())
|
||||
return EffectiveLaw::twoPhaseSatKrw(params.drainageParams(), Sw);
|
||||
|
||||
return EffectiveLaw::twoPhaseSatKrw(params.imbibitionParams(),
|
||||
@@ -255,7 +255,7 @@ public:
|
||||
|
||||
// if it is enabled, use either the drainage or the imbibition curve. if the
|
||||
// imbibition curve is used, the saturation must be shifted.
|
||||
if (Sw < params.krnSwMdc())
|
||||
if (Sw <= params.krnSwMdc())
|
||||
return EffectiveLaw::twoPhaseSatKrn(params.drainageParams(), Sw);
|
||||
|
||||
return EffectiveLaw::twoPhaseSatKrn(params.imbibitionParams(),
|
||||
|
||||
Reference in New Issue
Block a user