Peano
Loading...
Searching...
No Matches
PDE.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
6 template <class T, class Shortcuts, int NumberOfUnknowns>
7 static inline GPU_CALLABLE_METHOD void flux(
8 const T* const NOALIAS Q,
9 const tarch::la::Vector<DIMENSIONS, double>& x,
10 const tarch::la::Vector<DIMENSIONS, double>& h,
11 const double t,
12 const double dt,
13 const int normal,
14 T* const NOALIAS F
15 );
16
17 template <class T, class Shortcuts>
18 static inline GPU_CALLABLE_METHOD double maxEigenvalue(
19 const T* const NOALIAS Q,
20 const tarch::la::Vector<DIMENSIONS, double>& x,
21 const tarch::la::Vector<DIMENSIONS, double>& h,
22 const double t,
23 const double dt,
24 const int normal
25 );
26
27 template <class T, class Shortcuts, int NumberOfUnknowns>
28 static inline GPU_CALLABLE_METHOD void nonconservativeProduct(
29 const T* const NOALIAS Q,
30 const T* const NOALIAS deltaQ,
31 const tarch::la::Vector<DIMENSIONS, double>& x,
32 const tarch::la::Vector<DIMENSIONS, double>& h,
33 const double t,
34 const double dt,
35 const int normal,
36 T* const NOALIAS BTimesDeltaQ
37 );
38} // namespace applications::exahype2::ShallowWater
39
40#include "PDE.cpph"
static GPU_CALLABLE_METHOD void flux(const T *const NOALIAS Q, 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 F)
static GPU_CALLABLE_METHOD void nonconservativeProduct(const T *const NOALIAS Q, const T *const NOALIAS deltaQ, 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 BTimesDeltaQ)
static GPU_CALLABLE_METHOD double maxEigenvalue(const T *const NOALIAS Q, const tarch::la::Vector< DIMENSIONS, double > &x, const tarch::la::Vector< DIMENSIONS, double > &h, const double t, const double dt, const int normal)