Peano
Loading...
Searching...
No Matches
AugmentedStateRiemannSolver.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
73 template <class T, class Shortcuts>
74 static inline GPU_CALLABLE_METHOD double augmentedStateRiemannSolver(
75 const T* const NOALIAS QL,
76 const T* const NOALIAS QR,
77 const tarch::la::Vector<DIMENSIONS, double>& x,
78 const tarch::la::Vector<DIMENSIONS, double>& h,
79 const double t,
80 const double dt,
81 const int normal,
82 T* const NOALIAS FL,
83 T* const NOALIAS FR
84 );
85} // namespace applications::exahype2::ShallowWater
86
static GPU_CALLABLE_METHOD double augmentedStateRiemannSolver(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 implementation of the augmented state Riemann solver from David L.