Opm::ImmiscibleIndices< TypeTag, PVOffset > Struct Template Reference

The indices for the isothermal multi-phase model. More...

#include <immiscibleindices.hh>

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

Public Types

enum  { numPhases = getPropValue<TypeTag, Properties::NumPhases>() }
 
enum  { enableEnergy = getPropValue<TypeTag, Properties::EnableEnergy>() }
 
using EnergyIndices = Opm::EnergyIndices< PVOffset+numPhases, enableEnergy >
 

Static Public Attributes

static const int numEq = numPhases + EnergyIndices::numEq_
 
static const int pressure0Idx = PVOffset + 0
 
static const int saturation0Idx = PVOffset + 1
 Index of the saturation of the non-wetting/wetting phase. More...
 
static const int conti0EqIdx = PVOffset + 0
 Index of the continuity equation of the first phase. More...
 

Detailed Description

template<class TypeTag, int PVOffset>
struct Opm::ImmiscibleIndices< TypeTag, PVOffset >

The indices for the isothermal multi-phase model.

Member Typedef Documentation

◆ EnergyIndices

template<class TypeTag , int PVOffset>
using Opm::ImmiscibleIndices< TypeTag, PVOffset >::EnergyIndices = Opm::EnergyIndices<PVOffset + numPhases, enableEnergy>

Member Enumeration Documentation

◆ anonymous enum

template<class TypeTag , int PVOffset>
anonymous enum
Enumerator
numPhases 

◆ anonymous enum

template<class TypeTag , int PVOffset>
anonymous enum
Enumerator
enableEnergy 

Member Data Documentation

◆ conti0EqIdx

template<class TypeTag , int PVOffset>
const int Opm::ImmiscibleIndices< TypeTag, PVOffset >::conti0EqIdx = PVOffset + 0
static

Index of the continuity equation of the first phase.

◆ numEq

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

◆ pressure0Idx

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

Index for wetting/non-wetting phase pressure (depending on formulation) in a solution vector

◆ saturation0Idx

template<class TypeTag , int PVOffset>
const int Opm::ImmiscibleIndices< TypeTag, PVOffset >::saturation0Idx = PVOffset + 1
static

Index of the saturation of the non-wetting/wetting phase.


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