Peano
ADERDGMGCCZ4.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_mgccz4_ADERDG_MGCCZ4_H_
10 #define _examples_exahype2_mgccz4_ADERDG_MGCCZ4_H_
11 
12 
13 #include "AbstractADERDGMGCCZ4.h"
14 
15 #include "tarch/logging/Log.h"
16 
17 namespace examples {namespace exahype2 {namespace mgccz4 {
18  class ADERDGMGCCZ4;
19 }}}
20 
21 
22 
23 class examples::exahype2::mgccz4::ADERDGMGCCZ4: public AbstractADERDGMGCCZ4 {
24  private:
25  static tarch::logging::Log _log;
26 
27  public:
28  ADERDGMGCCZ4();
29 
30 
31 
32  void adjustSolution(
33  double * NOALIAS Q,
34  const tarch::la::Vector<DIMENSIONS,double>& x,
35  double t
36  ) override;
37 
38 
39 
40 
41  virtual void boundaryConditions(
42  const double * NOALIAS Qinside, // Qinside[59+0]
43  double * NOALIAS Qoutside, // Qoutside[59+0]
44  const tarch::la::Vector<DIMENSIONS,double>& x,
45  double t,
46  int normal
47  ) override;
48 
49 
50 
51 
52  double maxEigenvalue(
53  const double * NOALIAS Q, // Q[59+0],
54  const tarch::la::Vector<DIMENSIONS,double>& x,
55  double t,
56  int normal
57  ) override;
58 
59 
60 
61 
62 
63 
64 
66  const double * NOALIAS Q, // Q[59+0],
67  const double * NOALIAS deltaQ, // deltaQ[59+0]
68  const tarch::la::Vector<DIMENSIONS,double>& x,
69  double t,
70  int normal,
71  double * NOALIAS BgradQ // BgradQ[59]
72  ) override;
73 
74  virtual void algebraicSource(
75  const double * NOALIAS Q, // Q[59+0],
76  const tarch::la::Vector<DIMENSIONS,double>& x,
77  const tarch::la::Vector<DIMENSIONS,double>& h,
78  double t,
79  double dt,
80  double * NOALIAS S // S[59]
81  ) override;
82 };
83 
84 #endif
void nonconservativeProduct(const double *NOALIAS Q, const double *NOALIAS deltaQ, const tarch::la::Vector< DIMENSIONS, double > &x, double t, int normal, double *NOALIAS BgradQ) override
void adjustSolution(double *NOALIAS Q, const tarch::la::Vector< DIMENSIONS, double > &x, double t) override
static tarch::logging::Log _log
Definition: ADERDGMGCCZ4.h:25
double maxEigenvalue(const double *NOALIAS Q, const tarch::la::Vector< DIMENSIONS, double > &x, double t, int normal) override
virtual void boundaryConditions(const double *NOALIAS Qinside, double *NOALIAS Qoutside, const tarch::la::Vector< DIMENSIONS, double > &x, double t, int normal) override
virtual void algebraicSource(const double *NOALIAS Q, const tarch::la::Vector< DIMENSIONS, double > &x, const tarch::la::Vector< DIMENSIONS, double > &h, double t, double dt, double *NOALIAS S) override
Definition: mgccz4.py:1
h
Definition: swe.py:79