Peano
Loading...
Searching...
No Matches
RusanovRiemannSolver.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 "FrictionLaws.h"
6#include "PDE.h"
7
9 template <class T, class Shortcuts, class Quadrature, int NumberOfUnknowns, int NumberOfAuxiliaryVariables, int Order>
10 static inline GPU_CALLABLE_METHOD void rusanovRiemannSolverADERDG(
11 const T* const NOALIAS QL,
12 const T* const NOALIAS QR,
13 const tarch::la::Vector<DIMENSIONS, double>& x,
14 const tarch::la::Vector<DIMENSIONS, double>& h,
15 const double t,
16 const double dt,
17 const int normal,
18 T* const NOALIAS FL,
19 T* const NOALIAS FR
20 );
21
22 template <class T, class Shortcuts, int NumberOfUnknowns, int NumberOfAuxiliaryVariables>
23 static inline GPU_CALLABLE_METHOD double rusanovRiemannSolverFV(
24 const T* const NOALIAS QL,
25 const T* const NOALIAS QR,
26 const tarch::la::Vector<DIMENSIONS, double>& x,
27 const tarch::la::Vector<DIMENSIONS, double>& h,
28 const double t,
29 const double dt,
30 const int normal,
31 T* const NOALIAS FL,
32 T* const NOALIAS FR
33 );
34} // namespace applications::exahype2::ShallowWater
35
static GPU_CALLABLE_METHOD void rusanovRiemannSolverADERDG(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)
static GPU_CALLABLE_METHOD double rusanovRiemannSolverFV(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)