Peano
Loading...
Searching...
No Matches
OneSweepPerRungeKuttaStep.template.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#pragma once
8
9#include "Abstract{{CLASSNAME}}.h"
10#include "tarch/logging/Log.h"
11
12{% for item in NAMESPACE -%}
13 namespace {{ item }} {
14
15{%- endfor %}
16 class {{CLASSNAME}};
17
18{% for item in NAMESPACE -%}
19 }
20{%- endfor %}
21
22
23class {{NAMESPACE | join("::")}}::{{CLASSNAME}}: public {{NAMESPACE | join("::")}}::Abstract{{CLASSNAME}} {
24 private:
26
27 public:
28 {% if REFINEMENT_CRITERION_IMPLEMENTATION=="<user-defined>" %}
47 virtual ::exahype2::RefinementCommand refinementCriterion(
48 const double * __restrict__ Q, // Q[{{NUMBER_OF_UNKNOWNS}}+{{NUMBER_OF_AUXILIARY_VARIABLES}}],
49 const tarch::la::Vector<Dimensions,double>& meshCellCentre,
51 double t
52 ) override;
53 {% endif %}
54
55
56 {% if INITIAL_CONDITIONS_IMPLEMENTATION=="<user-defined>" %}
57 virtual void initialCondition(
58 double * __restrict__ Q,
59 const tarch::la::Vector<Dimensions,double>& meshCellCentre,
61 bool gridIsConstructed
62 ) override;
63 {% endif %}
64
65
66 {% if BOUNDARY_CONDITIONS_IMPLEMENTATION=="<user-defined>" %}
67 virtual void boundaryConditions(
68 const double * __restrict__ Qinside, // Qinside[{{NUMBER_OF_UNKNOWNS}}+{{NUMBER_OF_AUXILIARY_VARIABLES}}]
69 double * __restrict__ Qoutside, // Qoutside[{{NUMBER_OF_UNKNOWNS}}+{{NUMBER_OF_AUXILIARY_VARIABLES}}]
72 double t,
73 int normal
74 ) override;
75 {% endif %}
76
77 {{SOLVER_USER_DECLARATIONS}}
78};
79
80
Log Device.
Definition Log.h:516
tarch::logging::Log _log("exahype2::fv")
Simple vector class.
Definition Vector.h:150