28#ifndef EWOMS_PVS_INDICES_HH
29#define EWOMS_PVS_INDICES_HH
44template <
class TypeTag,
int PVOffset>
46 :
public EnergyIndices<PVOffset + getPropValue<TypeTag, Properties::NumComponents>(),
47 getPropValue<TypeTag, Properties::EnableEnergy>()>
55 static const int numEq = numComponents + EnergyIndices::numEq_;
The indices for the compositional multi-phase primary variable switching model.
Definition pvsindices.hh:48
static const int conti0EqIdx
Index of the mass conservation equation for the first component.
Definition pvsindices.hh:68
static const int pressure0Idx
Index for the pressure of the first phase.
Definition pvsindices.hh:60
static const int switch0Idx
Index of the either the saturation or the mole fraction of the phase with the lowest index.
Definition pvsindices.hh:63
static const int numEq
Number of partial differential equations or primary variables, respectively.
Definition pvsindices.hh:55
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 blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242
Declares the properties required for the compositional multi-phase primary variable switching model.
Provides the indices required for the energy equation.
Definition energymodule.hh:491