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 const int numEq = numComponents + EnergyIndices::numEq_
 Number of partial differential equations or primary variables, respectively. More...
 
static const int pressure0Idx = PVOffset + 0
 Index for the pressure of the first phase. More...
 
static const int switch0Idx = PVOffset + 1
 
static const 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>
const int Opm::PvsIndices< TypeTag, PVOffset >::conti0EqIdx = PVOffset
static

Index of the mass conservation equation for the first component.

◆ numEq

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

Number of partial differential equations or primary variables, respectively.

◆ pressure0Idx

template<class TypeTag , int PVOffset>
const int Opm::PvsIndices< TypeTag, PVOffset >::pressure0Idx = PVOffset + 0
static

Index for the pressure of the first phase.

◆ switch0Idx

template<class TypeTag , int PVOffset>
const int Opm::PvsIndices< TypeTag, PVOffset >::switch0Idx = PVOffset + 1
static

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: