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];