The common indices for the isothermal Navier-Stokes model. More...
#include <dumux/freeflow/navierstokes/momentum/diamond/indices.hh>
The common indices for the isothermal Navier-Stokes model.
dimension | The dimension of the problem |
Static Public Member Functions | |
static constexpr int | velocity (int dirIdx) |
Index of the velocity in a solution vector given a certain direction. More... | |
static constexpr int | momentumBalanceIdx (int dirIdx) |
Index of the momentum balance equation given the direction. More... | |
Static Public Attributes | |
static constexpr int | dimXIdx = 0 |
Index of the x-component of a vector of size dim. More... | |
static constexpr int | dimYIdx = 1 |
Index of the y-component of a vector of size dim. More... | |
static constexpr int | dimZIdx = 2 |
Index of the z-component of a vector of size dim. More... | |
static constexpr auto | dim = dimension |
static constexpr int | momentumXBalanceIdx = 0 |
Index of the momentum balance equation. More... | |
static constexpr int | momentumYBalanceIdx = 1 |
Index of the momentum balance equation. More... | |
static constexpr int | momentumZBalanceIdx = 2 |
Index of the momentum balance equation. More... | |
static constexpr int | velocityXIdx = 0 |
Index of the velocity in a solution vector. More... | |
static constexpr int | velocityYIdx = 1 |
Index of the velocity in a solution vector. More... | |
static constexpr int | velocityZIdx = 2 |
Index of the velocity in a solution vector. More... | |
|
inlinestaticconstexpr |
Index of the momentum balance equation given the direction.
dirIdx | The index of the direction. |
|
inlinestaticconstexpr |
Index of the velocity in a solution vector given a certain direction.
dirIdx | The index of the direction. |
|
staticconstexpr |
|
staticconstexpr |
Index of the x-component of a vector of size dim.
|
staticconstexpr |
Index of the y-component of a vector of size dim.
|
staticconstexpr |
Index of the z-component of a vector of size dim.
|
staticconstexpr |
Index of the momentum balance equation.
|
staticconstexpr |
Index of the momentum balance equation.
|
staticconstexpr |
Index of the momentum balance equation.
|
staticconstexpr |
Index of the velocity in a solution vector.
|
staticconstexpr |
Index of the velocity in a solution vector.
|
staticconstexpr |
Index of the velocity in a solution vector.