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

Defines the primary variable and equation indices for the compositional multi-phase model based on flash calculations. More...

#include <flashindices.hh>

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

Static Public Attributes

static const int numEq = numComponents + EnergyIndices::numEq_
 number of equations/primary variables More...
 
static const int cTot0Idx = PVOffset
 
static const int conti0EqIdx = PVOffset
 
static constexpr int pressure0Idx = PVOffset
 Index of the pressure. More...
 
static constexpr int z0Idx = pressure0Idx + 1
 Index of the molefraction of the first component. More...
 

Detailed Description

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

Defines the primary variable and equation indices for the compositional multi-phase model based on flash calculations.

Defines the primary variable and equation indices for the compositional multi-phase model based on PT flash calculations.

Template Parameters
PVOffsetThe first index in a primary variable vector.

Member Data Documentation

◆ conti0EqIdx

template<class TypeTag , int PVOffset>
static const int Opm::FlashIndices< TypeTag, PVOffset >::conti0EqIdx = PVOffset
static

Index of the mass conservation equation for the first component.

◆ cTot0Idx

template<class TypeTag , int PVOffset>
const int Opm::FlashIndices< TypeTag, PVOffset >::cTot0Idx = PVOffset
static

Index of the total concentration of the first component in the pore space.

◆ numEq

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

number of equations/primary variables

◆ pressure0Idx

template<class TypeTag , int PVOffset>
constexpr int Opm::FlashIndices< TypeTag, PVOffset >::pressure0Idx = PVOffset
staticconstexpr

Index of the pressure.

◆ z0Idx

template<class TypeTag , int PVOffset>
constexpr int Opm::FlashIndices< TypeTag, PVOffset >::z0Idx = pressure0Idx + 1
staticconstexpr

Index of the molefraction of the first component.


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