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

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

#include <immiscibleindices.hh>

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

Public Types

enum  { numPhases = GET_PROP_VALUE(TypeTag, NumPhases) }
 
enum  { enableEnergy = GET_PROP_VALUE(TypeTag, EnableEnergy) }
 
typedef Ewoms::EnergyIndices
< PVOffset+numPhases,
enableEnergy
EnergyIndices
 

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 Ewoms::ImmiscibleIndices< TypeTag, PVOffset >

The indices for the isothermal multi-phase model.

Member Typedef Documentation

template<class TypeTag , int PVOffset>
typedef Ewoms::EnergyIndices<PVOffset + numPhases, enableEnergy> Ewoms::ImmiscibleIndices< TypeTag, PVOffset >::EnergyIndices

Member Data Documentation

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

Index of the continuity equation of the first phase.

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

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

template<class TypeTag , int PVOffset>
const int Ewoms::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: