24#ifndef DUMUX_NAVIERSTOKES_INDICES_HH
25#define DUMUX_NAVIERSTOKES_INDICES_HH
35template <
int dimension>
45 static constexpr auto dim = dimension;
The common indices for the isothermal Navier-Stokes model.
Definition freeflow/navierstokes/indices.hh:37
static constexpr int momentumXBalanceIdx
Definition freeflow/navierstokes/indices.hh:47
static constexpr int dimXIdx
Definition freeflow/navierstokes/indices.hh:38
static constexpr int pressureIdx
Definition freeflow/navierstokes/indices.hh:43
static constexpr int velocityYIdx
Definition freeflow/navierstokes/indices.hh:52
static constexpr auto dim
Definition freeflow/navierstokes/indices.hh:45
static constexpr int dimYIdx
Definition freeflow/navierstokes/indices.hh:39
static constexpr int momentumZBalanceIdx
Definition freeflow/navierstokes/indices.hh:49
static constexpr int velocity(int dirIdx)
Index of the velocity in a solution vector given a certain direction.
Definition freeflow/navierstokes/indices.hh:60
static constexpr int conti0EqIdx
Definition freeflow/navierstokes/indices.hh:42
static constexpr int velocityZIdx
Definition freeflow/navierstokes/indices.hh:53
static constexpr int dimZIdx
Definition freeflow/navierstokes/indices.hh:40
static constexpr int momentumYBalanceIdx
Definition freeflow/navierstokes/indices.hh:48
static constexpr int velocityXIdx
Definition freeflow/navierstokes/indices.hh:51