adapt to rename of waterSaturationIdx -> waterSwitchIdx

This commit is contained in:
Tor Harald Sandve
2022-11-25 09:29:38 +01:00
parent 0c6d29a352
commit a190668800
2 changed files with 3 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ protected:
// GFrac 2 1 -1000 -1000 -1000
// Spres 3 2 2 2 1
static constexpr bool has_water = (Indices::waterSaturationIdx >= 0);
static constexpr bool has_water = (Indices::waterSwitchIdx >= 0);
static constexpr bool has_gas = (Indices::compositionSwitchIdx >= 0);
static constexpr bool has_oil = (Indices::numPhases - has_gas - has_water) > 0;