|
Peano
|


Public Member Functions | |
| __init__ (self, solver, guard, grid_is_constructed, restart_from_checkpoint=False, loading_scheme="local-loading") | |
| solver: ADERDG Reference to creating class | |
| get_body_of_operation (self, operation_name) | |
| Return actual C++ code snippets to be inserted into C++ code. | |
| get_body_of_prepareTraversal (self) | |
| 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,...). | |
| get_includes (self) | |
| Return include statements that you need. | |
| get_static_initialisations (self, full_qualified_classname) | |
| get_attributes (self) | |
| Return attributes as copied and pasted into the generated class. | |
| get_template_for_restarting (self) | |
| get_template_for_restart_preprocessing (self) | |
Public Member Functions inherited from exahype2.solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet | |
| user_should_modify_template (self) | |
| Is the user allowed to modify the output. | |
Public Member Functions inherited from peano4.solversteps.ActionSet.ActionSet | |
| get_constructor_body (self) | |
| Define a tailored constructor body. | |
| get_destructor_body (self) | |
| get_body_of_getGridControlEvents (self) | |
| get_body_of_unprepareTraversal (self) | |
Data Fields | |
| guard | |
| grid_is_constructed | |
Data Fields inherited from peano4.solversteps.ActionSet.ActionSet | |
| descend_invocation_order | |
| parallel | |
Protected Attributes | |
| _restart_from_checkpoint | |
| _loading_scheme | |
Protected Attributes inherited from exahype2.solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet | |
| _solver | |
Definition at line 9 of file InitialCondition.py.
| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.__init__ | ( | self, | |
| solver, | |||
| guard, | |||
| grid_is_constructed, | |||
| restart_from_checkpoint = False, | |||
| loading_scheme = "local-loading" ) |
solver: ADERDG Reference to creating class
Reimplemented from exahype2.solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet.
Definition at line 10 of file InitialCondition.py.
| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.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 exahype2.solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet.
Definition at line 49 of file InitialCondition.py.
| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_attributes | ( | self | ) |
Return attributes as copied and pasted into the generated class.
Please note that action sets are not persistent, i.e. there is one object creation per grid sweep per tree.
Reimplemented from peano4.solversteps.ActionSet.ActionSet.
Definition at line 76 of file InitialCondition.py.
References exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition._loading_scheme, exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition._loading_scheme, exahype2.Project.Project._restart_from_checkpoint, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition._restart_from_checkpoint, and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition._restart_from_checkpoint.
| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.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.
Reimplemented from peano4.solversteps.ActionSet.ActionSet.
Definition at line 18 of file InitialCondition.py.
References exahype2.Project.Project._restart_from_checkpoint, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition._restart_from_checkpoint, exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition._restart_from_checkpoint, exahype2.solvers.aderdg.actionsets.AbstractADERDGActionSet.AbstractADERDGActionSet._solver, exahype2.solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.solvers.fv.EnclaveTasking.UpdateCell._solver, exahype2.solvers.fv.SingleSweep.UpdateCell._solver, exahype2.solvers.limiting.actionsets.AbstractLimiterActionSet.AbstractLimiterActionSet._solver, exahype2.solvers.rkdg.actionsets.AbstractRungeKuttaDGActionSet.AbstractRungeKuttaDGActionSet._solver, exahype2.solvers.rkfd.actionsets.AbstractRKFDActionSet.AbstractRKFDActionSet._solver, exahype2.solvers.rkfd.actionsets.PreprocessSolution.PreprocessReconstructedSolutionWithHalo._solver, exahype2.solvers.rkfd.OneSweepPerRungeKuttaStep.UpdateCell._solver, exahype2.solvers.rkfd.SeparateSweeps.UpdateCell._solver, exahype2.solvers.rkfd.SeparateSweepsWithEnclaveTasking.UpdateCell._solver, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_template_for_restarting(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_template_for_restarting(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.grid_is_constructed, exahype2.solvers.rkdg.actionsets.InitialCondition.InitialCondition.grid_is_constructed, exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.grid_is_constructed, exahype2.solvers.fv.actionsets.AdaptivityCriterion.AdaptivityCriterion.guard, exahype2.solvers.fv.actionsets.HandleBoundary.HandleBoundary.guard, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.guard, exahype2.solvers.fv.actionsets.PostprocessSolution.EmptyPostprocessSolution.guard, exahype2.solvers.fv.actionsets.PostprocessSolution.VolumeWisePostprocessSolution.guard, exahype2.solvers.fv.actionsets.PreprocessSolution.EmptyPreprocessSolution.guard, exahype2.solvers.fv.actionsets.PreprocessSolution.VolumeWisePreprocessSolution.guard, exahype2.solvers.fv.EnclaveTasking.MergeEnclaveTaskOutcome.guard, exahype2.solvers.limiting.actionsets.SaveNewCellData.SaveNewCellData.guard, exahype2.solvers.limiting.actionsets.SpreadLimiterStatus.SpreadLimiterStatus.guard, exahype2.solvers.limiting.actionsets.VerifyTroubledness.VerifyTroubledness.guard, exahype2.solvers.rkdg.actionsets.AdaptivityCriterion.AdaptivityCriterion.guard, exahype2.solvers.rkdg.actionsets.ComputeFinalLinearCombination.ComputeFinalLinearCombination.guard, exahype2.solvers.rkdg.actionsets.InitialCondition.InitialCondition.guard, exahype2.solvers.rkdg.actionsets.PostprocessSolution.EmptyPostprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PostprocessSolution.DoFWisePostprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PostprocessSolution.CellWisePostprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PreprocessSolution.EmptyPreprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PreprocessSolution.DoFWisePreprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PreprocessSolution.CellWisePreprocessSolution.guard, exahype2.solvers.rkfd.actionsets.AdaptivityCriterion.AdaptivityCriterion.guard, exahype2.solvers.rkfd.actionsets.ComputeFinalLinearCombination.ComputeFinalLinearCombination.guard, exahype2.solvers.rkfd.actionsets.HandleBoundary.HandleBoundary.guard, exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.guard, exahype2.solvers.rkfd.actionsets.PostprocessSolution.EmptyPostprocessSolution.guard, exahype2.solvers.rkfd.actionsets.PostprocessSolution.CellWisePostprocessSolution.guard, exahype2.solvers.rkfd.actionsets.PreprocessSolution.EmptyPreprocessSolution.guard, exahype2.solvers.rkfd.actionsets.PreprocessSolution.CellWisePreprocessSolution.guard, exahype2.solvers.rkfd.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.guard, peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), peano4.toolbox.blockstructured.ReconstructPatchAndApplyFunctor.ReconstructPatchAndApplyFunctor.guard, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.TemplateInitialCondition, exahype2.solvers.rkdg.actionsets.InitialCondition.InitialCondition.TemplateInitialCondition, and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.TemplateInitialCondition.

| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal | ( | self | ) |
Reimplemented from peano4.solversteps.ActionSet.ActionSet.
Definition at line 35 of file InitialCondition.py.
References exahype2.Project.Project._restart_from_checkpoint, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition._restart_from_checkpoint, exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition._restart_from_checkpoint, exahype2.solvers.aderdg.actionsets.AbstractADERDGActionSet.AbstractADERDGActionSet._solver, exahype2.solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.solvers.fv.EnclaveTasking.UpdateCell._solver, exahype2.solvers.fv.SingleSweep.UpdateCell._solver, exahype2.solvers.limiting.actionsets.AbstractLimiterActionSet.AbstractLimiterActionSet._solver, exahype2.solvers.rkdg.actionsets.AbstractRungeKuttaDGActionSet.AbstractRungeKuttaDGActionSet._solver, exahype2.solvers.rkfd.actionsets.AbstractRKFDActionSet.AbstractRKFDActionSet._solver, exahype2.solvers.rkfd.actionsets.PreprocessSolution.PreprocessReconstructedSolutionWithHalo._solver, exahype2.solvers.rkfd.OneSweepPerRungeKuttaStep.UpdateCell._solver, exahype2.solvers.rkfd.SeparateSweeps.UpdateCell._solver, exahype2.solvers.rkfd.SeparateSweepsWithEnclaveTasking.UpdateCell._solver, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_template_for_restart_preprocessing(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_template_for_restart_preprocessing(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.grid_is_constructed, exahype2.solvers.rkdg.actionsets.InitialCondition.InitialCondition.grid_is_constructed, exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.grid_is_constructed, exahype2.solvers.fv.actionsets.AdaptivityCriterion.AdaptivityCriterion.guard, exahype2.solvers.fv.actionsets.HandleBoundary.HandleBoundary.guard, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.guard, exahype2.solvers.fv.actionsets.PostprocessSolution.EmptyPostprocessSolution.guard, exahype2.solvers.fv.actionsets.PostprocessSolution.VolumeWisePostprocessSolution.guard, exahype2.solvers.fv.actionsets.PreprocessSolution.EmptyPreprocessSolution.guard, exahype2.solvers.fv.actionsets.PreprocessSolution.VolumeWisePreprocessSolution.guard, exahype2.solvers.fv.EnclaveTasking.MergeEnclaveTaskOutcome.guard, exahype2.solvers.limiting.actionsets.SaveNewCellData.SaveNewCellData.guard, exahype2.solvers.limiting.actionsets.SpreadLimiterStatus.SpreadLimiterStatus.guard, exahype2.solvers.limiting.actionsets.VerifyTroubledness.VerifyTroubledness.guard, exahype2.solvers.rkdg.actionsets.AdaptivityCriterion.AdaptivityCriterion.guard, exahype2.solvers.rkdg.actionsets.ComputeFinalLinearCombination.ComputeFinalLinearCombination.guard, exahype2.solvers.rkdg.actionsets.InitialCondition.InitialCondition.guard, exahype2.solvers.rkdg.actionsets.PostprocessSolution.EmptyPostprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PostprocessSolution.DoFWisePostprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PostprocessSolution.CellWisePostprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PreprocessSolution.EmptyPreprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PreprocessSolution.DoFWisePreprocessSolution.guard, exahype2.solvers.rkdg.actionsets.PreprocessSolution.CellWisePreprocessSolution.guard, exahype2.solvers.rkfd.actionsets.AdaptivityCriterion.AdaptivityCriterion.guard, exahype2.solvers.rkfd.actionsets.ComputeFinalLinearCombination.ComputeFinalLinearCombination.guard, exahype2.solvers.rkfd.actionsets.HandleBoundary.HandleBoundary.guard, exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.guard, exahype2.solvers.rkfd.actionsets.PostprocessSolution.EmptyPostprocessSolution.guard, exahype2.solvers.rkfd.actionsets.PostprocessSolution.CellWisePostprocessSolution.guard, exahype2.solvers.rkfd.actionsets.PreprocessSolution.EmptyPreprocessSolution.guard, exahype2.solvers.rkfd.actionsets.PreprocessSolution.CellWisePreprocessSolution.guard, exahype2.solvers.rkfd.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.guard, peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), and peano4.toolbox.blockstructured.ReconstructPatchAndApplyFunctor.ReconstructPatchAndApplyFunctor.guard.

| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.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 exahype2.solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet.
Definition at line 52 of file InitialCondition.py.
References exahype2.solvers.aderdg.actionsets.AbstractADERDGActionSet.AbstractADERDGActionSet._solver, exahype2.solvers.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.solvers.fv.EnclaveTasking.UpdateCell._solver, exahype2.solvers.fv.SingleSweep.UpdateCell._solver, exahype2.solvers.limiting.actionsets.AbstractLimiterActionSet.AbstractLimiterActionSet._solver, exahype2.solvers.rkdg.actionsets.AbstractRungeKuttaDGActionSet.AbstractRungeKuttaDGActionSet._solver, exahype2.solvers.rkfd.actionsets.AbstractRKFDActionSet.AbstractRKFDActionSet._solver, exahype2.solvers.rkfd.actionsets.PreprocessSolution.PreprocessReconstructedSolutionWithHalo._solver, exahype2.solvers.rkfd.OneSweepPerRungeKuttaStep.UpdateCell._solver, exahype2.solvers.rkfd.SeparateSweeps.UpdateCell._solver, and exahype2.solvers.rkfd.SeparateSweepsWithEnclaveTasking.UpdateCell._solver.
| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_static_initialisations | ( | self, | |
| full_qualified_classname ) |
Reimplemented from peano4.solversteps.ActionSet.ActionSet.
Definition at line 62 of file InitialCondition.py.
References exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition._loading_scheme, exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition._loading_scheme, exahype2.Project.Project._restart_from_checkpoint, exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition._restart_from_checkpoint, and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition._restart_from_checkpoint.
| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_template_for_restart_preprocessing | ( | self | ) |
Definition at line 209 of file InitialCondition.py.
References exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition._loading_scheme, and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition._loading_scheme.
Referenced by exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal(), and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal().

| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_template_for_restarting | ( | self | ) |
Definition at line 114 of file InitialCondition.py.
References exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition._loading_scheme, and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition._loading_scheme.
Referenced by exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_operation().

|
protected |
Definition at line 15 of file InitialCondition.py.
Referenced by exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_attributes(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_attributes(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_static_initialisations(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_static_initialisations(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_template_for_restart_preprocessing(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_template_for_restart_preprocessing(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_template_for_restarting(), and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_template_for_restarting().
|
protected |
Definition at line 14 of file InitialCondition.py.
Referenced by exahype2.Project.Project.__export_constants(), exahype2.Project.Project.generate_Peano4_project(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_attributes(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_attributes(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_static_initialisations(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_static_initialisations(), and exahype2.Project.Project.set_restart_from_checkpoint().
| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.grid_is_constructed |
Definition at line 13 of file InitialCondition.py.
Referenced by exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal(), and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal().
| exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.guard |
Definition at line 12 of file InitialCondition.py.
Referenced by peano4.toolbox.blockstructured.ReconstructPatchAndApplyFunctor.ReconstructPatchAndApplyFunctor._add_action_set_entries_to_dictionary(), exahype2.solvers.aderdg.actionsets.Correction.Correction.get_body_of_operation(), exahype2.solvers.aderdg.actionsets.Prediction.Prediction.get_body_of_operation(), exahype2.solvers.fv.actionsets.AdaptivityCriterion.AdaptivityCriterion.get_body_of_operation(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.fv.actionsets.PostprocessSolution.VolumeWisePostprocessSolution.get_body_of_operation(), exahype2.solvers.fv.actionsets.PreprocessSolution.VolumeWisePreprocessSolution.get_body_of_operation(), exahype2.solvers.fv.EnclaveTasking.MergeEnclaveTaskOutcome.get_body_of_operation(), exahype2.solvers.limiting.actionsets.SaveNewCellData.SaveNewCellData.get_body_of_operation(), exahype2.solvers.limiting.actionsets.SpreadLimiterStatus.SpreadLimiterStatus.get_body_of_operation(), exahype2.solvers.limiting.actionsets.VerifyTroubledness.VerifyTroubledness.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.AdaptivityCriterion.AdaptivityCriterion.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.ComputeFinalLinearCombination.ComputeFinalLinearCombination.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.PostprocessSolution.DoFWisePostprocessSolution.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.PostprocessSolution.CellWisePostprocessSolution.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.PreprocessSolution.DoFWisePreprocessSolution.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.PreprocessSolution.CellWisePreprocessSolution.get_body_of_operation(), exahype2.solvers.rkfd.actionsets.AdaptivityCriterion.AdaptivityCriterion.get_body_of_operation(), exahype2.solvers.rkfd.actionsets.ComputeFinalLinearCombination.ComputeFinalLinearCombination.get_body_of_operation(), exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.rkfd.actionsets.PostprocessSolution.CellWisePostprocessSolution.get_body_of_operation(), exahype2.solvers.rkfd.actionsets.PreprocessSolution.CellWisePreprocessSolution.get_body_of_operation(), exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal(), and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_prepareTraversal().
|
static |
Definition at line 93 of file InitialCondition.py.
Referenced by exahype2.solvers.fv.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), exahype2.solvers.rkdg.actionsets.InitialCondition.InitialCondition.get_body_of_operation(), and exahype2.solvers.rkfd.actionsets.InitialCondition.InitialCondition.get_body_of_operation().