Merge pull request #2275 from atgeirr/fix-forgotten-brine-flag

Pass EnableBrine flag to BlackOilFluidState used for equilibration.
This commit is contained in:
Tor Harald Sandve 2020-01-13 12:29:19 +01:00 committed by GitHub
commit dce86bb078
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,7 @@ class EclEquilInitializer
enum { dimWorld = GridView::dimensionworld };
enum { enableTemperature = GET_PROP_VALUE(TypeTag, EnableTemperature) };
enum { enableEnergy = GET_PROP_VALUE(TypeTag, EnableEnergy) };
enum { enableBrine = GET_PROP_VALUE(TypeTag, EnableBrine) };
public:
// NB: setting the enableEnergy argument to true enables storage of enthalpy and
@ -94,6 +95,7 @@ public:
enableTemperature,
enableEnergy,
Indices::gasEnabled,
enableBrine,
Indices::numPhases
> ScalarFluidState;