Peano
Loading...
Searching...
No Matches
Euler.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 "VariableShortcuts.h"
7
8#include "tarch/Assertions.h"
10#include "tarch/la/Vector.h"
11
13
14 #if defined(GPUOffloadingOMP)
15 #pragma omp declare target
16 #endif
19 const double* const __restrict__ Q,
22 const double t,
23 const double dt,
24 const int normal,
25 double* const __restrict__ maxEigenvalue
27 #if defined(GPUOffloadingOMP)
28 #pragma omp end declare target
29 #endif
30
31 #if defined(GPUOffloadingOMP)
32 #pragma omp declare target
33 #endif
35 void flux(
36 const double* const __restrict__ Q,
39 const double t,
40 const double dt,
41 const int normal,
42 double* const __restrict__ F
44 #if defined(GPUOffloadingOMP)
45 #pragma omp end declare target
46 #endif
47} // namespace applications::exahype2::euler
48
49#include "Euler.cpph"
#define GPUCallableInlineMethod
Definition accelerator.h:37
static GPUCallableInlineMethod void maxEigenvalue(const double *const __restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &h, const double t, const double dt, const int normal, double *const __restrict__ maxEigenvalue) InlineMethod
Simple vector class.
Definition Vector.h:159
#define InlineMethod
Generic identifier for inlined functions.
Definition tarch.h:97