Peano
Loading...
Searching...
No Matches
AMRMarker.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
11#include "exahype2/Solver.h"
12
13#include "tarch/la/Vector.h"
15
17
18#include "Constants.h"
19
20
21{% for item in NAMESPACE -%}
22 namespace {{ item }} {
23
24{%- endfor %}
25 class {{CLASSNAME}};
26
27{% for item in NAMESPACE -%}
28 }
29{%- endfor %}
30
31
32
33class {{NAMESPACE | join("::")}}::{{CLASSNAME}}: public ::exahype2::Solver {
34 public:
38 static constexpr double MaxAdmissibleCellH = std::numeric_limits<double>::max();
39 static constexpr double MinAdmissibleCellH = 0.0;
40
41 {{CLASSNAME}}();
42
46 static std::bitset<Dimensions> PeriodicBC;
47
51 double getMinTimeStamp() const final;
52 double getMaxTimeStamp() const final;
53
54
55 double getMinTimeStepSize() const final;
56 double getMaxTimeStepSize() const final;
57
61 void startGridConstructionStep() final;
62 void finishGridConstructionStep() final;
63 void startGridInitialisationStep() final;
64 void finishGridInitialisationStep() final;
65 void startTimeStep(
66 double globalMinTimeStamp,
67 double globalMaxTimeStamp,
68 double globalMinTimeStepSize,
69 double globalMaxTimeStepSize
70 ) final;
71 void finishTimeStep() final;
72 void startPlottingStep(
73 double globalMinTimeStamp,
74 double globalMaxTimeStamp,
75 double globalMinTimeStepSize,
76 double globalMaxTimeStepSize
77 ) final;
78 void finishPlottingStep() final;
79
80 virtual double getMaxMeshSize() const override final;
81 virtual double getMinMeshSize() const override final;
82
83 virtual bool mayPlot() const override;
84
85 virtual void startSimulation() override;
86 virtual void finishSimulation() override;
87
92 bool isFirstGridSweepOfTimeStep() const;
93 bool isLastGridSweepOfTimeStep() const;
94 protected:
95 static tarch::logging::Log _log;
96};
97
98
99
100{# Empty line here #}
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19