Peano
Loading...
Searching...
No Matches
Project.SolverRepository.template.h
Go to the documentation of this file.
1//
2// Generated through Peano's Python API
3// www.peano-framework.org
4//
5#pragma once
6
8{% if LOAD_BALANCER != "" %}
9#include "{{LOAD_BALANCER | replace('::', '/') }}.h"
10{% endif %}
11
12{% for SOLVER in SOLVER_INSTANCES %}
13#include "{{SOLVER[0]}}.h"
14{% endfor %}
15{% for SOLVER in AUX_SOLVER_INSTANCES %}
16#include "{{SOLVER[0]}}.h"
17{% endfor %}
18
19{% for N in NAMESPACE %}
20namespace {{N}} {
21{% endfor %}
22 namespace repositories {
23 {% for SOLVER in SOLVER_INSTANCES %}
24 extern {{NAMESPACE | join("::")}}::{{SOLVER[0]}} {{SOLVER[1]}};
25 {% endfor %}
26 // @todo remove these aux solvers
27 {% for SOLVER in AUX_SOLVER_INSTANCES %}
28 extern {{NAMESPACE | join("::")}}::{{SOLVER[0]}} {{SOLVER[1]}};
29 {% endfor %}
30
31 {% if LOAD_BALANCER != "" %}
32 extern {{LOAD_BALANCER}} loadBalancer;
33 {% else %}
35 {% endif %}
36
37 bool terminationCriterionHolds();
38
39 void beginMeshSweep();
40 void endMeshSweep();
41
42 void beginCreateGrid();
43 void endCreateGrid();
44
45 void beginPlot();
46 void endPlot();
47
48 void beginInitialisation();
49 void endInitialisation();
50
51 int getPlotCounter();
52
53{% for N in NAMESPACE %}
54}
55{% endfor %}
56
57}