mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
fix compositionSwitchEnabled declaration. For gas-water it is disabled
This commit is contained in:
1 parent
70d43fbefc
commit
8e8f6c5ff2
1 file changed
+1
-1
@@ -121,9 +121,9 @@ public:
|
|||||||
static const int contiPolymerMWEqIdx = Indices::contiPolymerMWEqIdx;
|
static const int contiPolymerMWEqIdx = Indices::contiPolymerMWEqIdx;
|
||||||
static const int contiFoamEqIdx = Indices::contiFoamEqIdx;
|
static const int contiFoamEqIdx = Indices::contiFoamEqIdx;
|
||||||
static const int contiBrineEqIdx = Indices::contiBrineEqIdx;
|
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
|
// For the conversion between the surface volume rate and reservoir voidage rate
|
||||||
static const bool compositionSwitchEnabled = Indices::gasEnabled;
|
|
||||||
using FluidState = BlackOilFluidState<Eval,
|
using FluidState = BlackOilFluidState<Eval,
|
||||||
FluidSystem,
|
FluidSystem,
|
||||||
has_temperature,
|
has_temperature,
|
||||||
|
|||||||
Reference in new issue
Block a user