The primary variable and equation indices for the MpNc model.
More...
#include <dumux/porousmediumflow/mpnc/indices.hh>
template<int numPhases, int numEqBalance>
struct Dumux::MPNCIndices< numPhases, numEqBalance >
- Template Parameters
-
FluidSystem | The fluid system class |
numEqBalance | Number of balance equations: all transport equations and the constraint equations |
|
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 |
|
◆ conti0EqIdx
template<int numPhases, int numEqBalance>
◆ fug0Idx
template<int numPhases, int numEqBalance>
◆ moleFrac00Idx
template<int numPhases, int numEqBalance>
◆ p0Idx
template<int numPhases, int numEqBalance>
const unsigned int Dumux::MPNCIndices< numPhases, numEqBalance >::p0Idx = numEqBalance - 1 |
|
static |
◆ phase0NcpIdx
template<int numPhases, int numEqBalance>
const unsigned int Dumux::MPNCIndices< numPhases, numEqBalance >::phase0NcpIdx = numEqBalance - numPhases |
|
static |
- 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 |
- 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: