Compute boundary conditions for the Riemann Solver. More...
#include <array>
#include <cmath>
Go to the source code of this file.
Compute boundary conditions for the Riemann Solver.
The boundary conditions are given at the the outer face of the the boundary cells. In this form the boundary condition can't be processed by the riemann Solver, because it needs two cell states, one at each side of a face. Therefore the Riemann invariants are used to calculate a virtual outer state.
Namespaces | |
namespace | Dumux |
make the local view function available whenever we use the grid geometry | |
namespace | Dumux::ShallowWater |
Functions | |
template<class Scalar , class GlobalPosition > | |
std::array< Scalar, 3 > | Dumux::ShallowWater::fixedWaterDepthBoundary (const Scalar waterDepthBoundary, const Scalar waterDepthInside, const Scalar velocityXInside, const Scalar velocityYInside, const Scalar gravity, const GlobalPosition &nxy) |
Compute the outer cell state for fixed water depth boundary. More... | |
template<class Scalar , class GlobalPosition > | |
std::array< Scalar, 3 > | Dumux::ShallowWater::fixedDischargeBoundary (const Scalar dischargeBoundary, const Scalar waterDepthInside, const Scalar velocityXInside, const Scalar velocityYInside, const Scalar gravity, const GlobalPosition &nxy) |
Compute the outer cell state for a fixed discharge boundary. More... | |