The common indices for the shallow water equations model.
More...
#include <dumux/freeflow/shallowwater/indices.hh>
The common indices for the shallow water equations model.
◆ dimXIdx
constexpr int Dumux::ShallowWaterIndices::dimXIdx = 0 |
|
staticconstexpr |
Index of the x-component of a vector of size dim.
◆ dimYIdx
constexpr int Dumux::ShallowWaterIndices::dimYIdx = 1 |
|
staticconstexpr |
Index of the y-component of a vector of size dim.
◆ massBalanceIdx
constexpr int Dumux::ShallowWaterIndices::massBalanceIdx = 0 |
|
staticconstexpr |
Index of the mass balance equation.
◆ momentumXBalanceIdx
constexpr int Dumux::ShallowWaterIndices::momentumXBalanceIdx = 1 |
|
staticconstexpr |
Index of the x momentum balance equation.
◆ momentumYBalanceIdx
constexpr int Dumux::ShallowWaterIndices::momentumYBalanceIdx = 2 |
|
staticconstexpr |
Index of the y momentum balance equation.
◆ velocityOffset
constexpr int Dumux::ShallowWaterIndices::velocityOffset = velocityXIdx |
|
staticconstexpr |
Offset vor the velocity index.
◆ velocityXIdx
Index of the velocity in a solution vector.
◆ velocityYIdx
Index of the velocity in a solution vector.
◆ waterdepthIdx
constexpr int Dumux::ShallowWaterIndices::waterdepthIdx = massBalanceIdx |
|
staticconstexpr |
Index of the velocity in a solution vector.
The documentation for this struct was generated from the following file: