28 #ifndef EWOMS_BLACK_OIL_INDICES_HH 29 #define EWOMS_BLACK_OIL_INDICES_HH 38 template <
unsigned numSolventsV,
unsigned numPolymersV,
unsigned PVOffset>
46 static const bool waterEnabled =
true;
47 static const bool gasEnabled =
true;
static constexpr unsigned canonicalToActiveComponentIndex(unsigned compIdx)
returns the index of "active" component
Definition: blackoilindices.hh:59
static const int conti0EqIdx
Index of the continuity equation of the first phase.
Definition: blackoilindices.hh:95
Definition: baseauxiliarymodule.hh:37
static const int polymerConcentrationIdx
Index of the primary variable for the first polymer.
Definition: blackoilindices.hh:86
static const int numSolvents
Number of solvent components considered.
Definition: blackoilindices.hh:50
static const int compositionSwitchIdx
Index of the switching variable which determines the composition of the hydrocarbon phases...
Definition: blackoilindices.hh:80
static const int numPolymers
Number of polymer components considered.
Definition: blackoilindices.hh:53
static const bool oilEnabled
All phases are enabled.
Definition: blackoilindices.hh:45
static const int numPhases
Number of phases active at all times.
Definition: blackoilindices.hh:42
static const int contiPolymerEqIdx
Index of the continuity equation for the first polymer component.
Definition: blackoilindices.hh:102
static const int pressureSwitchIdx
Index of the oil pressure in a vector of primary variables.
Definition: blackoilindices.hh:70
The primary variable and equation indices for the black-oil model.
Definition: blackoilindices.hh:39
static const int waterSaturationIdx
The index of the water saturation.
Definition: blackoilindices.hh:67
static const int solventSaturationIdx
Index of the primary variable for the first solvent.
Definition: blackoilindices.hh:83
static const int contiSolventEqIdx
Index of the continuity equation for the first solvent component.
Definition: blackoilindices.hh:99
static const int numEq
The number of equations.
Definition: blackoilindices.hh:56