Peano
Loading...
Searching...
No Matches
HLLEMRiemannSolver.h
Go to the documentation of this file.
1// This file is part of the ExaHyPE2 project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
26 template <class T, class Shortcuts>
27 static inline GPU_CALLABLE_METHOD double hllemRiemannSolver(
28 const T* const NOALIAS QL,
29 const T* const NOALIAS QR,
30 const tarch::la::Vector<DIMENSIONS, double>& x,
31 const tarch::la::Vector<DIMENSIONS, double>& h,
32 const double t,
33 const double dt,
34 const int normal,
35 T* const NOALIAS FL,
36 T* const NOALIAS FR
37 );
38} // namespace applications::exahype2::ShallowWater
39
static GPU_CALLABLE_METHOD double hllemRiemannSolver(const T *const NOALIAS QL, const T *const NOALIAS QR, const tarch::la::Vector< DIMENSIONS, double > &x, const tarch::la::Vector< DIMENSIONS, double > &h, const double t, const double dt, const int normal, T *const NOALIAS FL, T *const NOALIAS FR)
A new formulation of the HLLEM Riemann solver for the Shallow Water Equation with support for inundat...