Ewoms::PvsIndices< TypeTag, PVOffset > Class Template Reference

The indices for the compositional multi-phase primary variable switching model. More...

#include <pvsindices.hh>

Inheritance diagram for Ewoms::PvsIndices< TypeTag, PVOffset >:
Ewoms::EnergyIndices< PVOffset+GET_PROP_VALUE(TypeTag, NumComponents), GET_PROP_VALUE(TypeTag, EnableEnergy)>

Static Public Attributes

static const int numEq = numComponents + EnergyIndices::numEq_
 Number of partial differential equations or primary variables, respectively.
 
static const int pressure0Idx = PVOffset + 0
 Index for the pressure of the first phase.
 
static const int switch0Idx = PVOffset + 1
 Index of the either the saturation or the mole fraction of the phase with the lowest index.
 
static const int conti0EqIdx = PVOffset
 Index of the mass conservation equation for the first component.
 

Detailed Description

template<class TypeTag, int PVOffset>
class Ewoms::PvsIndices< TypeTag, PVOffset >

The indices for the compositional multi-phase primary variable switching model.

Template Parameters
PVOffsetThe first index in a primary variable vector.

The documentation for this class was generated from the following file: