From efe3313f85d8073e2adf26d856d5b0de700fb9d0 Mon Sep 17 00:00:00 2001 From: hnil Date: Tue, 21 May 2019 14:32:25 +0200 Subject: [PATCH] not adapting any variables in onephase --- opm/models/blackoil/blackoilprimaryvariables.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opm/models/blackoil/blackoilprimaryvariables.hh b/opm/models/blackoil/blackoilprimaryvariables.hh index e4a779d42..8ddf27773 100644 --- a/opm/models/blackoil/blackoilprimaryvariables.hh +++ b/opm/models/blackoil/blackoilprimaryvariables.hh @@ -353,6 +353,9 @@ public: // the IntensiveQuantities). The reason is that most intensive quantities are not // required to be able to decide if the primary variables needs to be switched or // not, so it would be a waste to compute them. + if (primaryVarsMeaning() == px){ + return false; + } Scalar Sw = 0.0; if (waterEnabled) Sw = (*this)[Indices::waterSaturationIdx];