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

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

#include <pvsindices.hh>

Inheritance diagram for Opm::PvsIndices< TypeTag, PVOffset >:
Inheritance graph

Static Public Attributes

static constexpr int numEq = numComponents + EnergyIndices::numEq_
 Number of partial differential equations or primary variables, respectively. More...
 
static constexpr int pressure0Idx = PVOffset + 0
 Index for the pressure of the first phase. More...
 
static constexpr int switch0Idx = PVOffset + 1
 
static constexpr int conti0EqIdx = PVOffset
 Index of the mass conservation equation for the first component. More...
 

Detailed Description

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

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

Template Parameters
PVOffsetThe first index in a primary variable vector.

Member Data Documentation

◆ conti0EqIdx

template<class TypeTag , int PVOffset>
constexpr int Opm::PvsIndices< TypeTag, PVOffset >::conti0EqIdx = PVOffset
staticconstexpr

Index of the mass conservation equation for the first component.

◆ numEq

template<class TypeTag , int PVOffset>
constexpr int Opm::PvsIndices< TypeTag, PVOffset >::numEq = numComponents + EnergyIndices::numEq_
staticconstexpr

Number of partial differential equations or primary variables, respectively.

◆ pressure0Idx

template<class TypeTag , int PVOffset>
constexpr int Opm::PvsIndices< TypeTag, PVOffset >::pressure0Idx = PVOffset + 0
staticconstexpr

Index for the pressure of the first phase.

◆ switch0Idx

template<class TypeTag , int PVOffset>
constexpr int Opm::PvsIndices< TypeTag, PVOffset >::switch0Idx = PVOffset + 1
staticconstexpr

Index of the either the saturation or the mole fraction of the phase with the lowest index


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