3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
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.
static constexpr int secondPhaseOnly = 2
 Only the second phase (in fluid system) is present.
static constexpr int bothPhases = 3
 Both phases are present.
static constexpr int pressureIdx = 0
static constexpr int switchIdx = 1
 index for first/second phase pressure (depending on formulation) in privar vector
static constexpr int conti0EqIdx = 0
 index of either the saturation or the mass/mole fraction of the first/second component

Member Data Documentation

◆ bothPhases

int Dumux::TwoPNCIndices::bothPhases = 3
staticconstexpr

Both phases are present.

◆ conti0EqIdx

int Dumux::TwoPNCIndices::conti0EqIdx = 0
staticconstexpr

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

◆ firstPhaseOnly

int Dumux::TwoPNCIndices::firstPhaseOnly = 1
staticconstexpr

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

◆ pressureIdx

int Dumux::TwoPNCIndices::pressureIdx = 0
staticconstexpr

◆ secondPhaseOnly

int Dumux::TwoPNCIndices::secondPhaseOnly = 2
staticconstexpr

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

◆ switchIdx

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: