mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
not adapting any variables in onephase
This commit is contained in:
parent
8572e1d108
commit
efe3313f85
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user