|
Peano
|
The global periodic boundary conditions are set in the Constants.h. More...


Public Member Functions | |
| __init__ (self, solver, guard) | |
| get_body_of_operation (self, operation_name) | |
| Return actual C++ code snippets to be inserted into C++ code. | |
| get_includes (self) | |
| Return include statements that you need. | |
| get_action_set_name (self) | |
| You should replicate this function in each subclass, so you get meaningful action set names (otherwise, it will be AbstractFVActionSet0,1,2,...). | |
| Public Member Functions inherited from solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet | |
| __init__ (self, solver) | |
| solver: ADERDG Reference to creating class | |
| user_should_modify_template (self) | |
| Is the user allowed to modify the output. | |
| Public Member Functions inherited from peano4.api.solversteps.ActionSet.ActionSet | |
| __init__ (self, descend_invocation_order=0, parallel=False) | |
| get_constructor_body (self) | |
| Define a tailored constructor body. | |
| get_static_initialisations (self, full_qualified_classname) | |
| get_destructor_body (self) | |
| get_body_of_createGridControlEventsForNextTraversal (self) | |
| Return the grid control events that this action set wants to trigger. | |
| get_implementation_of_createGridControlEventsForNextTraversal (self) | |
| Return the C++ implementation of createGridControlEventsForNextTraversal(). | |
| get_body_of_prepareTraversal (self) | |
| get_implementation_of_prepareTraversal (self) | |
| Return the C++ implementation of prepareTraversal(). | |
| get_body_of_unprepareTraversal (self) | |
| get_implementation_of_unprepareTraversal (self) | |
| Return the C++ implementation of unprepareTraversal(). | |
| get_guard_of_operation (self, operation_name) | |
| Return the guard of an operation. | |
| get_implementation_of_operation (self, operation_name) | |
| Return the C++ implementation of an operation. | |
| bool | may_run_in_background_task (self) |
| May a task graph compiler move touchCellFirstTime() into a task. | |
| get_attributes (self) | |
| Return attributes as copied and pasted into the generated class. | |
Data Fields | |
| guard = guard | |
| dict | d = {} |
Additional Inherited Members | |
| Protected Attributes inherited from solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet | |
| _solver = solver | |
The global periodic boundary conditions are set in the Constants.h.
There is no need to update QOld along the faces. QOld is always rolled over from QNew, i.e. we may assume it is already set correctly. It is not correctly set in the very first time step (after InitGrid, we haven't yet set QOld), so apply the boundary conditions here would even confuse the assertions.
Definition at line 9 of file HandleBoundary.py.
| solvers.fv.actionsets.HandleBoundary.HandleBoundary.__init__ | ( | self, | |
| solver, | |||
| guard ) |
Definition at line 105 of file HandleBoundary.py.
| solvers.fv.actionsets.HandleBoundary.HandleBoundary.get_action_set_name | ( | self | ) |
You should replicate this function in each subclass, so you get meaningful action set names (otherwise, it will be AbstractFVActionSet0,1,2,...).
Reimplemented from solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet.
Definition at line 131 of file HandleBoundary.py.
| solvers.fv.actionsets.HandleBoundary.HandleBoundary.get_body_of_operation | ( | self, | |
| operation_name ) |
Return actual C++ code snippets to be inserted into C++ code.
See class' string constants starting with OPERATION_ for possible values of operation_name. The snippet is executed if and only if the guard returned by get_guard_of_operation() holds, i.e. the body should not evaluate the guard itself. See the section "Guard and body" in the class documentation.
Reimplemented from peano4.api.solversteps.ActionSet.ActionSet.
Definition at line 110 of file HandleBoundary.py.
| solvers.fv.actionsets.HandleBoundary.HandleBoundary.get_includes | ( | self | ) |
Return include statements that you need.
All of these includes will eventually end up in the header of the generated C++ code.
Reimplemented from solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet.
Definition at line 125 of file HandleBoundary.py.
| solvers.fv.actionsets.HandleBoundary.HandleBoundary.d = {} |
Definition at line 113 of file HandleBoundary.py.
Referenced by solvers.fv.actionsets.DynamicAMR.DynamicAMR.__init__(), solvers.fv.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.__init__(), solvers.limiting.kernels.Limiter.Limiter._build_gemms(), solvers.limiting.kernels.Limiter.Limiter.generate_kernels(), solvers.limiting.kernels.Quadrature.Quadrature.generate_kernels(), DGCGCoupling.Test4Coupling.get_body_of_operation(), DGCGCoupling.Test5Coupling.get_body_of_operation(), initCollocatedRandom.InitDofsCollocatedRandomRhs.get_body_of_operation(), InitDG.InitDofsDGTest1.get_body_of_operation(), InitDG.InitDofsIntermediatePhaseTest1.get_body_of_operation(), solvers.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.get_body_of_operation(), test8.InitDofsTest8.get_body_of_operation(), tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_body_of_operation(), tracer.InsertParticlesFromFile.InsertParticlesFromFile.get_body_of_operation(), tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_constructor_body(), tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_includes(), and tracer.InsertParticlesFromFile.InsertParticlesFromFile.get_includes().
| solvers.fv.actionsets.HandleBoundary.HandleBoundary.guard = guard |
Definition at line 107 of file HandleBoundary.py.
Referenced by solvers.aderdg.actionsets.Correction.Correction.get_body_of_operation(), solvers.aderdg.actionsets.Prediction.Prediction.get_body_of_operation(), solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), solvers.fv.actionsets.PostprocessSolution.VolumeWisePostprocessSolution.get_body_of_operation(), solvers.fv.actionsets.PreprocessSolution.VolumeWisePreprocessSolution.get_body_of_operation(), solvers.fv.EnclaveTasking.MergeEnclaveTaskOutcome.get_body_of_operation(), solvers.limiting.actionsets.SaveNewCellData.SaveNewCellData.get_body_of_operation(), solvers.limiting.actionsets.SpreadLimiterStatus.SpreadLimiterStatus.get_body_of_operation(), solvers.limiting.actionsets.VerifyTroubledness.VerifyTroubledness.get_body_of_operation(), solvers.rkdg.actionsets.AdaptivityCriterion.AdaptivityCriterion.get_body_of_operation(), solvers.rkdg.actionsets.ComputeFinalLinearCombination.ComputeFinalLinearCombination.get_body_of_operation(), solvers.rkdg.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), solvers.rkdg.actionsets.PostprocessSolution.CellWisePostprocessSolution.get_body_of_operation(), solvers.rkdg.actionsets.PostprocessSolution.DoFWisePostprocessSolution.get_body_of_operation(), solvers.rkdg.actionsets.PreprocessSolution.CellWisePreprocessSolution.get_body_of_operation(), solvers.rkdg.actionsets.PreprocessSolution.DoFWisePreprocessSolution.get_body_of_operation(), and solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal().
|
static |
Definition at line 84 of file HandleBoundary.py.
Referenced by solvers.rkdg.actionsets.HandleBoundary.HandleBoundary.get_body_of_operation().
|
static |
Definition at line 36 of file HandleBoundary.py.
Referenced by solvers.rkdg.actionsets.HandleBoundary.HandleBoundary.get_body_of_operation().
|
static |
Definition at line 21 of file HandleBoundary.py.
Referenced by solvers.rkdg.actionsets.HandleBoundary.HandleBoundary.get_body_of_operation().