Peano
Loading...
Searching...
No Matches
Project.SolverRepository.template.h
Go to the documentation of this file.
1//
2// Peano's PETSc extension
3// Generated through Peano's Python API
4// www.peano-framework.org
5//
6#pragma once
7
8
9{% for SOLVER in SOLVER_INSTANCES %}
10
11#include "{{SOLVER[0]}}.h"
12
13{% endfor %}
14
15
16{% for N in NAMESPACE %}
17namespace {{N}} {
18{% endfor %}
19 namespace repositories {
20
21 {% for SOLVER in SOLVER_INSTANCES %}
22 extern {{SOLVER[0]}} {{SOLVER[1]}}; // {{NAMESPACE | join("::")}}::
23
24 {% endfor %}
25
26 void computeLocalToGlobalMapsForAllSolvers();
27 void initMatricesAndVectors();
28 void solve();
29 }
30{% for N in NAMESPACE %}
31}
32{% endfor %}