28 #ifndef EWOMS_IMMISCIBLE_INDICES_HH 29 #define EWOMS_IMMISCIBLE_INDICES_HH 41 template <
class TypeTag,
int PVOffset>
43 :
public EnergyIndices<PVOffset + getPropValue<TypeTag, Properties::NumPhases>(),
44 getPropValue<TypeTag, Properties::EnableEnergy>()>
46 static constexpr
int numPhases = getPropValue<TypeTag, Properties::NumPhases>();
47 enum { enableEnergy = getPropValue<TypeTag, Properties::EnableEnergy>() };
52 static constexpr
int numEq = numPhases + EnergyIndices::numEq_;
static constexpr int conti0EqIdx
Index of the continuity equation of the first phase.
Definition: immiscibleindices.hh:65
static constexpr int pressure0Idx
Index for wetting/non-wetting phase pressure (depending on formulation) in a solution vector...
Definition: immiscibleindices.hh:58
static constexpr int saturation0Idx
Index of the saturation of the non-wetting/wetting phase.
Definition: immiscibleindices.hh:60
Defines the common properties required by the porous medium multi-phase models.
Contains the classes required to consider energy as a conservation quantity in a multi-phase module...
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
The indices for the isothermal multi-phase model.
Definition: immiscibleindices.hh:42
Provides the indices required for the energy equation.
Definition: energymodule.hh:494