Peano
Loading...
Searching...
No Matches
AbstractADERDGActionSet.py
Go to the documentation of this file.
1# This file is part of the ExaHyPE2 project. For conditions of distribution and
2# use, please see the copyright notice at www.peano-framework.org
3import peano4.solversteps
4
5
7 def __init__(self, solver):
8 super(AbstractADERDGActionSet, self).__init__(
9 descend_invocation_order=1, parallel=False
10 )
11 self._solver = solver
12
14 """
15 You should replicate this function in each subclass, so you get
16 meaningful action set names (otherwise, it will be
17 AbstractADERDGActionSet0,1,2,...).
18 """
19 return __name__.replace(".py", "").replace(".", "_")
20
22 return False
23
24 def get_includes(self):
25 return (
26 """
27#include <algorithm>
28#include <functional>
29#include "exahype2/dg/DGUtils.h"
30"""
31 + self._solver._get_default_includes()
32 + self._solver.get_user_action_set_includes()
33 )
get_action_set_name(self)
You should replicate this function in each subclass, so you get meaningful action set names (otherwis...
Action set (reactions to events)
Definition ActionSet.py:6