Commit 4186d2a 1 parent d9bf4ad commit 4186d2a Copy full SHA for 4186d2a
File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,15 @@ class FlashIndices
50
50
using EnergyIndices = Opm::EnergyIndices<PVOffset + numComponents, enableEnergy>;
51
51
52
52
public:
53
+ static constexpr bool waterEnabled = false ;
54
+ static constexpr bool gasEnabled = true ;
55
+ static constexpr bool oilEnabled = true ;
56
+ static constexpr bool waterPhaseIdx = -1 ;
57
+ static constexpr bool waterGasIdx = 0 ;
58
+ static constexpr bool waterOilIdx = 1 ;
59
+ static constexpr bool compositionSwitchIdx = -1 ;
60
+ static constexpr bool numPhases = 3 ;
61
+ unsigned canonicalToActiveComponentIndex (unsigned solventCompIdx){return solventCompIdx;};
53
62
// ! number of equations/primary variables
54
63
static const int numEq = numComponents + EnergyIndices::numEq_;
55
64
@@ -60,7 +69,7 @@ public:
60
69
61
70
// ! Index of the molefraction of the first component
62
71
static constexpr int z0Idx = pressure0Idx + 1 ;
63
-
72
+
64
73
// equation indices
65
74
66
75
// ! Index of the mass conservation equation for the first
You can’t perform that action at this time.
0 commit comments