Peano
Loading...
Searching...
No Matches
FWaveRiemannSolver.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
5#include "WetDryState.h"
6
41 template <class T, class Shortcuts>
42 static inline GPU_CALLABLE_METHOD double fWaveRiemannSolver(
43 const T* const NOALIAS QL,
44 const T* const NOALIAS QR,
45 const tarch::la::Vector<DIMENSIONS, double>& x,
46 const tarch::la::Vector<DIMENSIONS, double>& h,
47 const double t,
48 const double dt,
49 const int normal,
50 T* const NOALIAS FL,
51 T* const NOALIAS FR
52 );
53} // namespace applications::exahype2::ShallowWater
54
static GPU_CALLABLE_METHOD double fWaveRiemannSolver(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)
F-Wave Riemann Solver for the Shallow Water Equation.