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