3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Attributes | List of all members
Dumux::TwoPNCIndices Struct Reference

The indices for the isothermal two-phase n-component model. More...

#include <dumux/porousmediumflow/2pnc/indices.hh>

Description

The indices for the isothermal two-phase n-component model.

Static Public Attributes

static constexpr int firstPhaseOnly = 1
 Only the first phase (in fluid system) is present. More...
 
static constexpr int secondPhaseOnly = 2
 Only the second phase (in fluid system) is present. More...
 
static constexpr int bothPhases = 3
 Both phases are present. More...
 
static constexpr int pressureIdx = 0
 
static constexpr int switchIdx = 1
 index for first/second phase pressure (depending on formulation) in privar vector More...
 
static constexpr int conti0EqIdx = 0
 index of either the saturation or the mass/mole fraction of the first/second component More...
 

Member Data Documentation

◆ bothPhases

constexpr int Dumux::TwoPNCIndices::bothPhases = 3
staticconstexpr

Both phases are present.

◆ conti0EqIdx

constexpr int Dumux::TwoPNCIndices::conti0EqIdx = 0
staticconstexpr

index of either the saturation or the mass/mole fraction of the first/second component

◆ firstPhaseOnly

constexpr int Dumux::TwoPNCIndices::firstPhaseOnly = 1
staticconstexpr

Only the first phase (in fluid system) is present.

◆ pressureIdx

constexpr int Dumux::TwoPNCIndices::pressureIdx = 0
staticconstexpr

◆ secondPhaseOnly

constexpr int Dumux::TwoPNCIndices::secondPhaseOnly = 2
staticconstexpr

Only the second phase (in fluid system) is present.

◆ switchIdx

constexpr int Dumux::TwoPNCIndices::switchIdx = 1
staticconstexpr

index for first/second phase pressure (depending on formulation) in privar vector


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