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

The primary variable and equation indices for the MpNc model. More...

#include <dumux/porousmediumflow/mpnc/indices.hh>

Description

template<int numPhases, int numEqBalance>
struct Dumux::MPNCIndices< numPhases, numEqBalance >

The primary variable and equation indices for the MpNc model.

Template Parameters
FluidSystemThe fluid system class
numEqBalanceNumber of balance equations: all transport equations and the constraint equations

Static Public Attributes

static const unsigned int s0Idx = numEqBalance - numPhases
 Index of the saturation of the first phase in a vector of primary variables. More...
 
static const unsigned int p0Idx = numEqBalance - 1
 Index of the first phase' pressure in a vector of primary variables. More...
 
static const unsigned int phase0NcpIdx = numEqBalance - numPhases
 Index of the first phase NCP equation. More...
 
static const unsigned int fug0Idx = 0
 
static const unsigned int conti0EqIdx = 0
 
static const unsigned int moleFrac00Idx = 0
 

Member Data Documentation

◆ conti0EqIdx

template<int numPhases, int numEqBalance>
const unsigned int Dumux::MPNCIndices< numPhases, numEqBalance >::conti0EqIdx = 0
static

◆ fug0Idx

template<int numPhases, int numEqBalance>
const unsigned int Dumux::MPNCIndices< numPhases, numEqBalance >::fug0Idx = 0
static

◆ moleFrac00Idx

template<int numPhases, int numEqBalance>
const unsigned int Dumux::MPNCIndices< numPhases, numEqBalance >::moleFrac00Idx = 0
static

◆ p0Idx

template<int numPhases, int numEqBalance>
const unsigned int Dumux::MPNCIndices< numPhases, numEqBalance >::p0Idx = numEqBalance - 1
static

Index of the first phase' pressure in a vector of primary variables.

◆ phase0NcpIdx

template<int numPhases, int numEqBalance>
const unsigned int Dumux::MPNCIndices< numPhases, numEqBalance >::phase0NcpIdx = numEqBalance - numPhases
static

Index of the first phase NCP equation.

Note
The index for the remaining phases are consecutive.

◆ s0Idx

template<int numPhases, int numEqBalance>
const unsigned int Dumux::MPNCIndices< numPhases, numEqBalance >::s0Idx = numEqBalance - numPhases
static

Index of the saturation of the first phase in a vector of primary variables.

Note
The following (numPhases - 1) primary variables represent the saturations for the phases [1, ..., numPhases - 1]

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