fix compositionSwitchEnabled declaration. For gas-water it is disabled

This commit is contained in:
Paul Egberts 2021-08-01 21:02:07 +02:00
parent 70d43fbefc
commit 8e8f6c5ff2

View File

@ -121,9 +121,9 @@ public:
static const int contiPolymerMWEqIdx = Indices::contiPolymerMWEqIdx;
static const int contiFoamEqIdx = Indices::contiFoamEqIdx;
static const int contiBrineEqIdx = Indices::contiBrineEqIdx;
static const bool compositionSwitchEnabled = Indices::compositionSwitchIdx >= 0;
// For the conversion between the surface volume rate and reservoir voidage rate
static const bool compositionSwitchEnabled = Indices::gasEnabled;
// For the conversion between the surface volume rate and reservoir voidage rate
using FluidState = BlackOilFluidState<Eval,
FluidSystem,
has_temperature,