Peano
Loading...
Searching...
No Matches
DummyStep.py
Go to the documentation of this file.
1# This file is part of the Peano project. For conditions of distribution and
2# use, please see the copyright notice at www.peano-framework.org
3from peano4.solversteps.ActionSet import ActionSet
4
5
6import jinja2
7import dastgen2
8import peano4
9
10
12 """!
13
14 Dummy step action set
15
16 Does almost nothing, as the name suggests. The only thing it does is to
17 get the particle-vertex association tracing right, i.e. it tells the API
18 that a new mesh sweep starts.
19
20 """
21
23 self,
24 ):
25 super( DummyStep, self ).__init__()
26 pass
27
29 return False
30
31
32 def get_includes(self):
33 return """
34#include "toolbox/particles/assignmentchecks/TracingAPI.h"
35"""
36
38 return """
39toolbox::particles::assignmentchecks::startMeshSweep( "DummyStep" );
40"""
Action set (reactions to events)
Definition ActionSet.py:6
user_should_modify_template(self)
Is the user allowed to modify the output.
Definition DummyStep.py:28
get_includes(self)
Return include statements that you need.
Definition DummyStep.py:32