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
24 static int plotCounter = -1;
25
26 {% for SOLVER in SOLVER_INSTANCES %}
27 extern {{NAMESPACE | join("::")}}::{{SOLVER[0]}} {{SOLVER[1]}};
28 {% endfor %}
29 // @todo remove these aux solvers
30 {% for SOLVER in AUX_SOLVER_INSTANCES %}
31 extern {{NAMESPACE | join("::")}}::{{SOLVER[0]}} {{SOLVER[1]}};
32 {% endfor %}
33
34 {% if LOAD_BALANCER != "" %}
35 extern {{LOAD_BALANCER}} loadBalancer;
36 {% else %}
38 {% endif %}
39
40 bool terminationCriterionHolds();
41 void beginMeshSweep();
42 void endMeshSweep();
43
48 void endCreateGrid();
49
50 int getPlotCounter();
51 void incrementPlotCounter();
52
53{% for N in NAMESPACE %}
54}
55{% endfor %}
56
57}