Peano
Loading...
Searching...
No Matches
HLLEM.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 "Constants.h"
6#include "WetDryState.h"
7#include "VariableShortcuts.h"
8
9#include "tarch/Assertions.h"
11#include "tarch/la/Vector.h"
12
42 #if defined(GPUOffloadingOMP)
43 #pragma omp declare target
44 #endif
45 static inline GPUCallableMethod
46 double hllem(
47 const double* const __restrict__ QR,
48 const double* const __restrict__ QL,
49 const double* const __restrict__ FR,
50 const double* const __restrict__ FL,
51 const double* const __restrict__ LR,
52 const double* const __restrict__ LL,
56 const double t,
57 const double dt,
58 const int normal,
59 double* const __restrict__ APDQ,
60 double* const __restrict__ AMDQ
62 #if defined(GPUOffloadingOMP)
63 #pragma omp end declare target
64 #endif
65} // namespace applications::exahype2::swe
66
67#include "HLLEM.cpph"
#define GPUCallableMethod
Definition accelerator.h:27
static GPUCallableMethod double hllem(const double *const __restrict__ QR, const double *const __restrict__ QL, const double *const __restrict__ FR, const double *const __restrict__ FL, const double *const __restrict__ LR, const double *const __restrict__ LL, const tarch::la::Vector< Dimensions, double > &xR, const tarch::la::Vector< Dimensions, double > &xL, const tarch::la::Vector< Dimensions, double > &h, const double t, const double dt, const int normal, double *const __restrict__ APDQ, double *const __restrict__ AMDQ) InlineMethod
An new formulation of the HLLEM Riemann solver for the Shallow Water Equation with support for inunda...
Simple vector class.
Definition Vector.h:159
#define InlineMethod
Generic identifier for inlined functions.
Definition tarch.h:97