Peano
Loading...
Searching...
No Matches
AbstractEulerFVSmooth.h
Go to the documentation of this file.
1// **********************************************************************************************
2// *** !!!WARNING!!! ***
3// *** WARNING: AUTO GENERATED FILE! DO NOT MODIFY BY HAND! YOUR CHANGES WILL BE OVERWRITTEN! ***
4// *** !!!WARNING!!! ***
5// *** Generated by Peano's Python API: www.peano-framework.org ***
6// **********************************************************************************************
7
8// This file is part of the ExaHyPE2 project. For conditions of distribution and
9// use, please see the copyright notice at www.peano-framework.org
10#pragma once
11
13#include "exahype2/Solver.h"
14#include "tarch/la/Vector.h"
17
19
20#include "Constants.h"
21
22
23namespace exahype2 {
24 namespace fv {
25 namespace rusanov {
26 namespace microbenchmark {
27
29
30}}}}
31
32
34 public:
36
37 static constexpr int NumberOfUnknowns = 4;
38 static constexpr int NumberOfAuxiliaryVariables = 0;
39 static constexpr int PatchSize = 16;
40 static constexpr int HaloSize = 1;
41
42
43
44 #if defined(GPUOffloadingOMP)
45#pragma omp declare target
46#endif
48 const double* __restrict__ Q, const tarch::la::Vector<Dimensions, double>& x, int normal, double* __restrict__ F,
50);
51#if defined(GPUOffloadingOMP)
52#pragma omp end declare target
53#endif
54
55#if defined(GPUOffloadingOMP)
56#pragma omp declare target
57#endif
59 const double* __restrict__ Q, const tarch::la::Vector<Dimensions, double>& x, int normal, double* __restrict__ lambdaMax,
61);
62#if defined(GPUOffloadingOMP)
63#pragma omp end declare target
64#endif
65
66virtual void flux(
67 const double* __restrict__ Q, const tarch::la::Vector<Dimensions, double>& x, int normal, double* __restrict__ F
68) final;
69
70virtual void maxEigenvalue(
71 const double* __restrict__ Q, const tarch::la::Vector<Dimensions, double>& x, int normal, double* __restrict__ lambdaMax
72) final;
73
74virtual void initPointWisely(
75 const tarch::la::Vector<Dimensions, double>& x, double* __restrict__ Q
76) final;
77
78
79
80
81 protected:
83
84
85};
86
#define GPUCallableMethod
Definition accelerator.h:27
Offloadable
This is a "fake" enum, i.e.
Definition Solver.h:37
static GPUCallableMethod void flux(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, int normal, double *__restrict__ F, Offloadable)
virtual void maxEigenvalue(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, int normal, double *__restrict__ lambdaMax) final
virtual void flux(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, int normal, double *__restrict__ F) final
virtual void initPointWisely(const tarch::la::Vector< Dimensions, double > &x, double *__restrict__ Q) final
static GPUCallableMethod void maxEigenvalue(const double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &x, int normal, double *__restrict__ lambdaMax, Offloadable)
Log Device.
Definition Log.h:517
This file is part of the ExaHyPE 2 project within Peano 4.
Definition __init__.py:1
Simple vector class.
Definition Vector.h:159