mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-16 20:24:48 -06:00
fix compositionSwitchEnabled specification. For gas-water it is disabled
This commit is contained in:
parent
a217974f9d
commit
0f2ced8891
@ -279,7 +279,7 @@ class BlackOilModel
|
||||
enum { numEq = getPropValue<TypeTag, Properties::NumEq>() };
|
||||
enum { enableDiffusion = getPropValue<TypeTag, Properties::EnableDiffusion>() };
|
||||
|
||||
static const bool compositionSwitchEnabled = Indices::gasEnabled;
|
||||
static const bool compositionSwitchEnabled = Indices::compositionSwitchIdx >= 0;
|
||||
static const bool waterEnabled = Indices::waterEnabled;
|
||||
|
||||
using SolventModule = BlackOilSolventModule<TypeTag>;
|
||||
|
Loading…
Reference in New Issue
Block a user