12#ifndef DUMUX_FREEFLOW_SHALLOW_WATER_INDICES_HH
13#define DUMUX_FREEFLOW_SHALLOW_WATER_INDICES_HH
The common indices for the shallow water equations model.
Definition: freeflow/shallowwater/indices.hh:23
static constexpr int dimYIdx
Index of the y-component of a vector of size dim.
Definition: freeflow/shallowwater/indices.hh:25
static constexpr int waterdepthIdx
Index of the velocity in a solution vector.
Definition: freeflow/shallowwater/indices.hh:31
static constexpr int velocityXIdx
Index of the x velocity in a solution vector.
Definition: freeflow/shallowwater/indices.hh:32
static constexpr int momentumYBalanceIdx
Index of the y momentum balance equation.
Definition: freeflow/shallowwater/indices.hh:29
static constexpr int massBalanceIdx
Index of the mass balance equation.
Definition: freeflow/shallowwater/indices.hh:27
static constexpr int velocityYIdx
Index of the y velocity in a solution vector.
Definition: freeflow/shallowwater/indices.hh:33
static constexpr int momentumXBalanceIdx
Index of the x momentum balance equation.
Definition: freeflow/shallowwater/indices.hh:28
static constexpr int velocityOffset
Offset for the velocity index.
Definition: freeflow/shallowwater/indices.hh:34
static constexpr int dimXIdx
Index of the x-component of a vector of size dim.
Definition: freeflow/shallowwater/indices.hh:24