mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2275 from atgeirr/fix-forgotten-brine-flag
Pass EnableBrine flag to BlackOilFluidState used for equilibration.
This commit is contained in:
commit
dce86bb078
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user