12#ifndef DUMUX_NAVIERSTOKES_INDICES_HH
13#define DUMUX_NAVIERSTOKES_INDICES_HH
23template <
int dimension>
33 static constexpr auto dim = dimension;
The common indices for the isothermal Navier-Stokes model.
Definition freeflow/navierstokes/indices.hh:25
static constexpr int momentumXBalanceIdx
Definition freeflow/navierstokes/indices.hh:35
static constexpr int dimXIdx
Definition freeflow/navierstokes/indices.hh:26
static constexpr int pressureIdx
Definition freeflow/navierstokes/indices.hh:31
static constexpr int velocityYIdx
Definition freeflow/navierstokes/indices.hh:40
static constexpr auto dim
Definition freeflow/navierstokes/indices.hh:33
static constexpr int dimYIdx
Definition freeflow/navierstokes/indices.hh:27
static constexpr int momentumZBalanceIdx
Definition freeflow/navierstokes/indices.hh:37
static constexpr int velocity(int dirIdx)
Index of the velocity in a solution vector given a certain direction.
Definition freeflow/navierstokes/indices.hh:48
static constexpr int conti0EqIdx
Definition freeflow/navierstokes/indices.hh:30
static constexpr int velocityZIdx
Definition freeflow/navierstokes/indices.hh:41
static constexpr int dimZIdx
Definition freeflow/navierstokes/indices.hh:28
static constexpr int momentumYBalanceIdx
Definition freeflow/navierstokes/indices.hh:36
static constexpr int velocityXIdx
Definition freeflow/navierstokes/indices.hh:39