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  { enableEnergy = getPropValue<TypeTag, Properties::EnableEnergy>() }
 
using EnergyIndices = ::Opm::EnergyIndices< PVOffset+numPhases, enableEnergy >
 

Static Public Attributes

static constexpr int numPhases = getPropValue<TypeTag, Properties::NumPhases>()
 
static constexpr int numEq = numPhases + EnergyIndices::numEq_
 
static constexpr int pressure0Idx = PVOffset + 0
 
static constexpr int saturation0Idx = PVOffset + 1
 Index of the saturation of the non-wetting/wetting phase. More...
 
static constexpr 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
enableEnergy 

Member Data Documentation

◆ conti0EqIdx

template<class TypeTag , int PVOffset>
constexpr int Opm::ImmiscibleIndices< TypeTag, PVOffset >::conti0EqIdx = PVOffset + 0
staticconstexpr

Index of the continuity equation of the first phase.

◆ numEq

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

◆ numPhases

template<class TypeTag , int PVOffset>
constexpr int Opm::ImmiscibleIndices< TypeTag, PVOffset >::numPhases = getPropValue<TypeTag, Properties::NumPhases>()
staticconstexpr

◆ pressure0Idx

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

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

◆ saturation0Idx

template<class TypeTag , int PVOffset>
constexpr int Opm::ImmiscibleIndices< TypeTag, PVOffset >::saturation0Idx = PVOffset + 1
staticconstexpr

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


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