Peano
Loading...
Searching...
No Matches
SeparateSweepsWithEnclaveTasking.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
23
class
{{NAMESPACE | join(
"::"
)}}::{{CLASSNAME}}:
public
{{NAMESPACE | join(
"::"
)}}::Abstract{{CLASSNAME}} {
24
private
:
25
static
tarch::logging::Log
_log
;
26
27
public
:
28
{%
if
REFINEMENT_CRITERION_IMPLEMENTATION==
"<user-defined>"
%}
49
virtual ::exahype2::RefinementCommand refinementCriterion(
50
const
double
* __restrict__ Q,
// Q[{{NUMBER_OF_UNKNOWNS}}+{{NUMBER_OF_AUXILIARY_VARIABLES}}],
51
const
tarch::la::Vector<Dimensions,double>
& meshCellCentre,
52
const
tarch::la::Vector<Dimensions,double>
& meshCellH,
53
double
t
54
)
override
;
55
{% endif %}
56
57
58
{%
if
INITIAL_CONDITIONS_IMPLEMENTATION==
"<user-defined>"
%}
59
virtual
void
initialCondition(
60
double
* __restrict__ Q,
61
const
tarch::la::Vector<Dimensions,double>
& meshCellCentre,
62
const
tarch::la::Vector<Dimensions,double>
& meshCellH,
63
bool
gridIsConstructed
64
)
override
;
65
{% endif %}
66
67
68
{%
if
BOUNDARY_CONDITIONS_IMPLEMENTATION==
"<user-defined>"
%}
69
virtual
void
boundaryConditions(
70
const
double
* __restrict__ Qinside,
// Qinside[{{NUMBER_OF_UNKNOWNS}}+{{NUMBER_OF_AUXILIARY_VARIABLES}}]
71
double
* __restrict__ Qoutside,
// Qoutside[{{NUMBER_OF_UNKNOWNS}}+{{NUMBER_OF_AUXILIARY_VARIABLES}}]
72
const
tarch::la::Vector<Dimensions,double>
& faceCentre,
73
const
tarch::la::Vector<Dimensions,double>
& meshCellH,
74
double
t,
75
int
normal
76
)
override
;
77
{% endif %}
78
79
{{SOLVER_USER_DECLARATIONS}}
80
};
81
82
Log.h
_log
tarch::logging::Log _log("::")
tarch::logging::Log
Log Device.
Definition
Log.h:516
tarch::la::Vector
Simple vector class.
Definition
Vector.h:159
python
exahype2
solvers
rkfd
SeparateSweepsWithEnclaveTasking.template.h
Generated on
for Peano by
1.14.0