3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Attributes | List of all members
Dumux::SequentialTwoPIndices< formulation, PVOffset > Struct Template Reference

The indices for the \(p_w-S_n\) formulation of the isothermal two-phase model. More...

#include <dumux/porousmediumflow/2p/sequential/indices.hh>

Inheritance diagram for Dumux::SequentialTwoPIndices< formulation, PVOffset >:
Inheritance graph

Description

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
struct Dumux::SequentialTwoPIndices< formulation, PVOffset >

The indices for the \(p_w-S_n\) formulation of the isothermal two-phase model.

Template Parameters
formulationIndex of the formulation
PVOffsetThe first index in a primary variable vector.

Static Public Attributes

static const int pressureIdx = PVOffset + 0
 index for the primary pressure variable in a solution vector More...
 
static const int saturationIdx = PVOffset + 1
 index for the primary saturation variable in a solution vector More...
 
static const int pwIdx = PVOffset + 0
 index of the wetting phase pressure More...
 
static const int snIdx = PVOffset + 1
 index of the nonwetting phase saturation More...
 
static const int contiWEqIdx = PVOffset + 0
 index of the continuity equation of the wetting phase More...
 
static const int pressureEqIdx = contiWEqIdx
 index of the pressure equation (total mass balance) More...
 
static const int contiNEqIdx = PVOffset + 1
 index of the continuity equation of the non-wetting phase More...
 
static const int satEqIdx = contiNEqIdx
 index of the continuity equation of the non-wetting phase (saturation equation) More...
 
static const int transportEqIdx = satEqIdx
 index of the saturation transport equation More...
 
static const int pwsn = 0
 pw and sn as primary variables More...
 
static const int pnsw = 1
 pn and sw as primary variables More...
 
static const int pwsw = 2
 pw and sw as primary variables More...
 
static const int pnsn = 3
 pn and sn as primary variables More...
 
static const int pGlobalSw = 4
 pGlobal and sw as primary variables More...
 
static const int pGlobalSn = 5
 pGlobal and sn as primary variables More...
 
static const int wPhaseIdx = 0
 index of the wetting phase in a phase vector More...
 
static const int nPhaseIdx = 1
 index of the non-wetting phase in a phase vector More...
 
static const int totalPhaseIdx = 2
 index of the total phase (wetting + nonwetting) More...
 
static const int saturationW = 0
 Indicates wetting phase saturation. More...
 
static const int saturationN = 1
 Indicates non-wetting phase saturation. More...
 
static const int saturationNw = saturationN
 Indicates non-wetting phase saturation. More...
 
static const int pressureW = 0
 Indicates wetting phase pressure. More...
 
static const int pressureN = 1
 Indicates non-wetting phase pressure. More...
 
static const int pressureNw = pressureN
 Indicates non-wetting phase pressure. More...
 
static const int pressureGlobal = 2
 Indicates global-pressure. More...
 
static const int velocityW = 0
 Indicates wetting phase velocity. More...
 
static const int velocityN = 1
 Indicates non-wetting phase velocity. More...
 
static const int velocityNw = velocityN
 Indicates non-wetting phase velocity. More...
 
static const int velocityTotal = 2
 Indicates total velocity. More...
 

Member Data Documentation

◆ contiNEqIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::contiNEqIdx = PVOffset + 1
static

index of the continuity equation of the non-wetting phase

◆ contiWEqIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::contiWEqIdx = PVOffset + 0
static

index of the continuity equation of the wetting phase

◆ nPhaseIdx

const int Dumux::SequentialTwoPCommonIndices::nPhaseIdx = 1
staticinherited

index of the non-wetting phase in a phase vector

◆ pGlobalSn

const int Dumux::SequentialTwoPCommonIndices::pGlobalSn = 5
staticinherited

pGlobal and sn as primary variables

◆ pGlobalSw

const int Dumux::SequentialTwoPCommonIndices::pGlobalSw = 4
staticinherited

pGlobal and sw as primary variables

◆ pnsn

const int Dumux::SequentialTwoPCommonIndices::pnsn = 3
staticinherited

pn and sn as primary variables

◆ pnsw

const int Dumux::SequentialTwoPCommonIndices::pnsw = 1
staticinherited

pn and sw as primary variables

◆ pressureEqIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::pressureEqIdx = contiWEqIdx
static

index of the pressure equation (total mass balance)

◆ pressureGlobal

const int Dumux::SequentialTwoPCommonIndices::pressureGlobal = 2
staticinherited

Indicates global-pressure.

◆ pressureIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::pressureIdx = PVOffset + 0
static

index for the primary pressure variable in a solution vector

◆ pressureN

const int Dumux::SequentialTwoPCommonIndices::pressureN = 1
staticinherited

Indicates non-wetting phase pressure.

◆ pressureNw

const int Dumux::SequentialTwoPCommonIndices::pressureNw = pressureN
staticinherited

Indicates non-wetting phase pressure.

◆ pressureW

const int Dumux::SequentialTwoPCommonIndices::pressureW = 0
staticinherited

Indicates wetting phase pressure.

◆ pwIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::pwIdx = PVOffset + 0
static

index of the wetting phase pressure

◆ pwsn

const int Dumux::SequentialTwoPCommonIndices::pwsn = 0
staticinherited

pw and sn as primary variables

◆ pwsw

const int Dumux::SequentialTwoPCommonIndices::pwsw = 2
staticinherited

pw and sw as primary variables

◆ satEqIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::satEqIdx = contiNEqIdx
static

index of the continuity equation of the non-wetting phase (saturation equation)

◆ saturationIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::saturationIdx = PVOffset + 1
static

index for the primary saturation variable in a solution vector

◆ saturationN

const int Dumux::SequentialTwoPCommonIndices::saturationN = 1
staticinherited

Indicates non-wetting phase saturation.

◆ saturationNw

const int Dumux::SequentialTwoPCommonIndices::saturationNw = saturationN
staticinherited

Indicates non-wetting phase saturation.

◆ saturationW

const int Dumux::SequentialTwoPCommonIndices::saturationW = 0
staticinherited

Indicates wetting phase saturation.

◆ snIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::snIdx = PVOffset + 1
static

index of the nonwetting phase saturation

◆ totalPhaseIdx

const int Dumux::SequentialTwoPCommonIndices::totalPhaseIdx = 2
staticinherited

index of the total phase (wetting + nonwetting)

◆ transportEqIdx

template<int formulation = SequentialTwoPCommonIndices::pwsn, int PVOffset = 0>
const int Dumux::SequentialTwoPIndices< formulation, PVOffset >::transportEqIdx = satEqIdx
static

index of the saturation transport equation

◆ velocityN

const int Dumux::SequentialTwoPCommonIndices::velocityN = 1
staticinherited

Indicates non-wetting phase velocity.

◆ velocityNw

const int Dumux::SequentialTwoPCommonIndices::velocityNw = velocityN
staticinherited

Indicates non-wetting phase velocity.

◆ velocityTotal

const int Dumux::SequentialTwoPCommonIndices::velocityTotal = 2
staticinherited

Indicates total velocity.

◆ velocityW

const int Dumux::SequentialTwoPCommonIndices::velocityW = 0
staticinherited

Indicates wetting phase velocity.

◆ wPhaseIdx

const int Dumux::SequentialTwoPCommonIndices::wPhaseIdx = 0
staticinherited

index of the wetting phase in a phase vector


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