Ewoms::BlackOilIndices< PVOffset > Struct Template Reference

The primary variable and equation indices for the black-oil model. More...

#include <blackoilindices.hh>

Static Public Attributes

static const int gasPressureIdx = PVOffset + 0
 
static const int waterSaturationIdx = PVOffset + 1
 The index of the water saturation. More...
 
static const int switchIdx = PVOffset + 2
 Index of the switching variable. More...
 
static const int conti0EqIdx = PVOffset + 0
 Index of the continuity equation of the first phase. More...
 
static const int numEq = 3
 The number of equations. More...
 

Detailed Description

template<int PVOffset = 0>
struct Ewoms::BlackOilIndices< PVOffset >

The primary variable and equation indices for the black-oil model.

Member Data Documentation

template<int PVOffset = 0>
const int Ewoms::BlackOilIndices< PVOffset >::conti0EqIdx = PVOffset + 0
static

Index of the continuity equation of the first phase.

template<int PVOffset = 0>
const int Ewoms::BlackOilIndices< PVOffset >::gasPressureIdx = PVOffset + 0
static

Index of pressure of the gas phase in a vector of primary variables

template<int PVOffset = 0>
const int Ewoms::BlackOilIndices< PVOffset >::numEq = 3
static

The number of equations.

template<int PVOffset = 0>
const int Ewoms::BlackOilIndices< PVOffset >::switchIdx = PVOffset + 2
static

Index of the switching variable.

Depending on the phases present, this variable is either interpreted as the saturation of the gas phase, or as the mole fraction of the gas component in the oil phase.

template<int PVOffset = 0>
const int Ewoms::BlackOilIndices< PVOffset >::waterSaturationIdx = PVOffset + 1
static

The index of the water saturation.


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