12#ifndef DUMUX_NAVIERSTOKES_MOMENTUM_CVFE_INDICES_HH
13#define DUMUX_NAVIERSTOKES_MOMENTUM_CVFE_INDICES_HH
23template <
int dimension>
30 static constexpr auto dim = dimension;
The common indices for the isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:25
static constexpr int velocityYIdx
Index of the velocity in a solution vector y-component.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:37
static constexpr int momentumYBalanceIdx
Index of the momentum balance equation y-component.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:33
static constexpr int dimXIdx
Index of the x-component of a vector of size dim.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:26
static constexpr int velocity(int dirIdx)
Index of the velocity in a solution vector given a certain direction.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:44
static constexpr int momentumXBalanceIdx
Index of the momentum balance equation x-component.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:32
static constexpr auto dim
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:30
static constexpr int velocityZIdx
Index of the velocity in a solution vector z-component.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:38
static constexpr int dimZIdx
Index of the z-component of a vector of size dim.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:28
static constexpr int momentumBalanceIdx(int dirIdx)
Index of the momentum balance equation given the direction.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:53
static constexpr int velocityXIdx
Index of the velocity in a solution vector x-component.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:36
static constexpr int momentumZBalanceIdx
Index of the momentum balance equation z-component.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:34
static constexpr int dimYIdx
Index of the y-component of a vector of size dim.
Definition: freeflow/navierstokes/momentum/cvfe/indices.hh:27