|
Peano
|
PlotPatchesInPeanoBlockFormat which only does something if its plotter is active. More...


Public Member Functions | |
| __init__ (self, is_active_predicate, finish_call, **kwargs) | |
| get_guard_of_operation (self, operation_name) | |
| get_body_of_unprepareTraversal (self) | |
Protected Attributes | |
| _is_active_predicate | |
| _finish_call | |
PlotPatchesInPeanoBlockFormat which only does something if its plotter is active.
The toolbox action set opens a new snapshot file in beginTraversal() and adds it to the index file. That has to be skipped altogether for a plotter which is not active, so the guards of all operations are combined with the plotter's is<Name>Active(). The predicate does not change throughout the plot sweep, as finish<Name>() - which moves the plotter on to its next output - is only called in unprepareTraversal() (exahype2.api.Solver.Solver.Plotter).
Definition at line 12 of file PlotAsVTKFile.py.
| exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.__init__ | ( | self, | |
| is_active_predicate, | |||
| finish_call, | |||
| ** | kwargs | ||
| ) |
Definition at line 30 of file PlotAsVTKFile.py.
References exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.__init__().
Referenced by exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.__init__().


| exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.get_body_of_unprepareTraversal | ( | self | ) |
Definition at line 43 of file PlotAsVTKFile.py.
References exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive._finish_call, and exahype2.api.rkfd4.PlotAsVTKFile._PlotPatchesIfPlotterIsActive._finish_call.
Referenced by peano4.api.solversteps.ActionSet.ActionSet.get_implementation_of_unprepareTraversal().

| exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.get_guard_of_operation | ( | self, | |
| operation_name | |||
| ) |
Definition at line 35 of file PlotAsVTKFile.py.
References exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive._is_active_predicate, exahype2.api.rkfd4.PlotAsVTKFile._PlotPatchesIfPlotterIsActive._is_active_predicate, and exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.get_guard_of_operation().
Referenced by exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.get_guard_of_operation(), and peano4.api.solversteps.ActionSet.ActionSet.get_implementation_of_operation().


|
protected |
|
protected |
Definition at line 32 of file PlotAsVTKFile.py.
Referenced by exahype2.api.fv.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.get_guard_of_operation(), and exahype2.api.rkfd4.PlotAsVTKFile._PlotPatchesIfPlotterIsActive.get_guard_of_operation().