Peano
Loading...
Searching...
No Matches
SourceTerm.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 namespace meteotsunami {
7 template <class T, class Shortcuts, int NumberOfUnknowns, int NumberOfAuxiliaryVariables>
8 static inline GPU_CALLABLE_METHOD void sourceTerm(
9 const T* const NOALIAS Q,
10 const tarch::la::Vector<DIMENSIONS, double>& x,
11 const tarch::la::Vector<DIMENSIONS, double>& h,
12 const double t,
13 const double dt,
14 T* const NOALIAS S
15 );
16 } // namespace meteotsunami
17} // namespace applications::exahype2::ShallowWater
18
19#include "SourceTerm.cpph"
static GPU_CALLABLE_METHOD void sourceTerm(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, T *const NOALIAS S)