version 3.10-dev
Dumux::TwoPNCIndices Struct Reference

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

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

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

◆ conti0EqIdx

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

◆ firstPhaseOnly

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

◆ pressureIdx

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

◆ secondPhaseOnly

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

◆ switchIdx

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

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