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
5
namespace
applications::exahype2::ShallowWater
{
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
"
SourceTerm.cpph
applications::exahype2::ShallowWater::meteotsunami::sourceTerm
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)
applications::exahype2::ShallowWater
Definition
PDE.h:54
applications
shallow-water
meteotsunami-r1
SourceTerm.h
Generated on Wed Apr 1 2026 00:01:45 for Peano by
1.10.0