Peano
Loading...
Searching...
No Matches
DiscontinuousGalerkinDiscretisation.template.h
Go to the documentation of this file.
1//
2// Solver file of Peano's PETSc add-on
3// Generated by Peano's Python API
4// www.peano-framework.org
5//
6// This is generated. Don't change it! Every rerun of the Python API will
7// overwrite your changes.
8//
9#pragma once
10
11
12#include "Abstract{{CLASSNAME}}.h"
13
14
15{% for item in NAMESPACE -%}
16 namespace {{ item }} {
17
18{%- endfor %}
19 class {{CLASSNAME}};
20
21{% for item in NAMESPACE -%}
22 }
23{%- endfor %}
24
25
26class {{NAMESPACE | join("::")}}::{{CLASSNAME}}: public {{NAMESPACE | join("::")}}::Abstract{{CLASSNAME}} {
27 public:
28
34 {{CLASSNAME}}();
35
43 virtual ~{{CLASSNAME}}();
44
53 virtual void initNode(
56 {% if CELL_UNKNOWNS==1 %}
57 double& value,
58 double& rhs,
59 double& exactSol
60 {% else %}
61 tarch::la::Vector< {{CELL_UNKNOWNS}}, double >& value,
62 tarch::la::Vector< {{CELL_UNKNOWNS}}, double >& rhs,
63 tarch::la::Vector< {{CELL_UNKNOWNS}}, double >& exactSol
64 {% endif %}
65 ) override;
66
67
68 {% if CELL_CELL_RHS_MATRIX==[] %}
72 ) override;
73 {% endif %}
74
75
76 {% if CELL_CELL_RHS_MATRIX==[] %}
80 ) override;
81 {% endif %}
82
83
84 {% if CELL_TO_FACE_MATRIX==[] %}
88 ) override;
89 {% endif %}
90
91
92 {% if FACE_TO_CELL_MATRIX==[] %}
96 ) override;
97 {% endif %}
98
99
100 {% if FACE_FACE_RIEMANN_PROBLEM_MATRIX==[] %}
104 ) override;
105 {% endif %}
106};
107
108
Static (i.e.
Definition Matrix.h:42
Simple vector class.
Definition Vector.h:159