Peano
Loading...
Searching...
No Matches
GPRDR.h
Go to the documentation of this file.
1//
2// ExaHyPE2 solver file
3// Generated by Peano's Python API
4// www.peano-framework.org
5//
6// This is generated. If you change fundamental properties, you will have to
7// generate this file. Backup your manual changes before you do so.
8//
9#ifndef _examples_exahype2_gprdr_GPRDR_H_
10#define _examples_exahype2_gprdr_GPRDR_H_
11
12
13#include "AbstractGPRDR.h"
14
15#include "tarch/logging/Log.h"
16
17namespace examples {namespace exahype2 {namespace gprdr {
18 class GPRDR;
19
20}}}
21
22
23
24class examples::exahype2::gprdr::GPRDR: public AbstractGPRDR {
25 private:
27
28 public:
30
31
32
34 double * __restrict__ Q, // Q[27+3],
35 const tarch::la::Vector<Dimensions,double>& volumeCentre,
37 double t
38 ) override;
39
40
41
42 /*
43 virtual double maxEigenvalue(
44 const double * __restrict__ Q, // Q[27+3],
45 const tarch::la::Vector<Dimensions,double>& faceCentre,
46 const tarch::la::Vector<Dimensions,double>& volumeH,
47 double t,
48 int normal
49 ) override;
50
51
52 void flux(
53 const double * __restrict__ Q, // Q[27+3],
54 const tarch::la::Vector<Dimensions,double>& faceCentre,
55 const tarch::la::Vector<Dimensions,double>& volumeH,
56 double t,
57 int normal,
58 double * __restrict__ F // F[27]
59 ) override;
60
61
62
63 void nonconservativeProduct(
64 const double * __restrict__ Q, // Q[27+3],
65 const double gradQ[27+3][Dimensions],
66 const tarch::la::Vector<Dimensions,double>& faceCentre,
67 const tarch::la::Vector<Dimensions,double>& volumeH,
68 double t,
69 int normal,
70 double * __restrict__ BgradQ // BgradQ[27]
71 ) override;*/
72
73
75 const double * __restrict__ QL,
76 const double * __restrict__ QR,
78 double volumeH,
79 double t,
80 double dt,
81 int normal,
82 double * __restrict__ FL,
83 double * __restrict__ FR
84 ) override;
85
86
87};
88
89
90#endif
void solveRiemannProblem(const double *__restrict__ QL, const double *__restrict__ QR, const tarch::la::Vector< Dimensions, double > &faceCentre, double volumeH, double t, double dt, int normal, double *__restrict__ FL, double *__restrict__ FR) override
static tarch::logging::Log _log
Definition GPRDR.h:26
void adjustSolution(double *__restrict__ Q, const tarch::la::Vector< Dimensions, double > &volumeCentre, const tarch::la::Vector< Dimensions, double > &volumeH, double t) override
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