24#ifndef DUMUX_NAVIERSTOKES_MOMENTUM_DIAMOND_INDICES_HH
25#define DUMUX_NAVIERSTOKES_MOMENTUM_DIAMOND_INDICES_HH
35template <
int dimension>
42 static constexpr auto dim = dimension;
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
The common indices for the isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:37
static constexpr int velocityXIdx
Index of the velocity in a solution vector.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:48
static constexpr auto dim
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:42
static constexpr int velocityYIdx
Index of the velocity in a solution vector.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:49
static constexpr int momentumBalanceIdx(int dirIdx)
Index of the momentum balance equation given the direction.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:65
static constexpr int momentumZBalanceIdx
Index of the momentum balance equation.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:46
static constexpr int momentumXBalanceIdx
Index of the momentum balance equation.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:44
static constexpr int dimXIdx
Index of the x-component of a vector of size dim.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:38
static constexpr int dimZIdx
Index of the z-component of a vector of size dim.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:40
static constexpr int dimYIdx
Index of the y-component of a vector of size dim.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:39
static constexpr int velocity(int dirIdx)
Index of the velocity in a solution vector given a certain direction.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:56
static constexpr int velocityZIdx
Index of the velocity in a solution vector.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:50
static constexpr int momentumYBalanceIdx
Index of the momentum balance equation.
Definition: freeflow/navierstokes/momentum/diamond/indices.hh:45