Peano
Loading...
Searching...
No Matches
peano4.api.output.Observer.Observer Class Reference

C++ observer of one mesh traversal. More...

Inheritance diagram for peano4.api.output.Observer.Observer:
Collaboration diagram for peano4.api.output.Observer.Observer:

Public Member Functions

 __init__ (self, classname, namespace, subdirectory, included_actions, vertices, faces, cells, task_groups=None)
 generateDictEntry (self, key)
 Some logic to produce new dictionary entries from existing ones.
 mkSubDict (self, keys)
 Create the particular subdictionary that's used for an expression.
 get_cpp_file_name (self)
 generate (self, overwrite, directory)

Data Fields

 classname = classname
 namespace = namespace
 subdirectory = subdirectory
 included_actions = included_actions
 task_groups = task_groups
 vertices = vertices
 faces = faces
 cells = cells
dict d = {}

Static Public Attributes

bool default_overwrite = True
str TemplateConstructor
str TemplateClone
str TemplateBeginTraversal
str TemplateEndTraversal
str TemplatePrepareTraversal
str TemplateUnprepareTraversal
str TemplateGetGridControlEvents_Prologue
str TemplateGetGridControlEvents_MappingCall
str TemplateGetGridControlEvents_Epilogue
str TemplateEnterCell_Prologue
str TemplateLoadCell_VertexLoad
str TemplateEnterCell_VertexMappingCall
str TemplateLoadCell_FaceLoad
str TemplateEnterCell_FaceMappingCall
str TemplateLoadCell_CellLoad
str TemplateEnterCell_CellMappingCall
str TemplateEnterCell_MappingCall
str TemplateEnterCell_Epilogue
str TemplateLoadCell_Prologue
str TemplateStoreCell_Prologue
str TemplateLeaveCell_Prologue
str TemplateLeaveCell_MappingCall
str TemplateLeaveCell_CellStore_MappingCall
str TemplateStoreCell_CellStore
str TemplateLeaveCell_FaceStore_MappingCall
str TemplateStoreCell_FaceStore
str TemplateLeaveCell_VertexStore_MappingCall
str TemplateStoreCell_VertexStore
str TemplateLeaveCell_Epilogue
str TemplateLoadCell_Epilogue
str TemplateStoreCell_Epilogue
str TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Prologue
str TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Exchange
str TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Epilogue
str TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Prologue
str TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Exchange
str TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Epilogue
str TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Prologue
str TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Exchange
str TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Epilogue
str TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Prologue
str TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Exchange
str TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Epilogue
str TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Prologue
str TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Exchange
str TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Epilogue
str TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Prologue
str TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Exchange
str TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Epilogue
str TemplateSendVertex_Prologue
str TemplateSendVertex_SendCall
str TemplateSendVertex_Epilogue
str TemplateSendFace_Prologue
str TemplateSendFace_SendCall
str TemplateSendFace_Epilogue
str TemplateSendCell_Prologue
str TemplateSendCell_SendCall
str TemplateSendCell_Epilogue
str TemplateReceiveAndMergeCell_Prologue
str TemplateReceiveAndMergeCell_Epilogue
str TemplateReceiveAndMergeVertex_Prologue
str TemplateReceiveAndMergeVertex_Epilogue
str TemplateReceiveAndMergeFace_Epilogue
str TemplateReceiveAndMergeFace_Prologue
str TemplateReceiveAndMergeVertex_ReceiveAndMergeCalls
str TemplateReceiveAndMergeFace_ReceiveAndMergeCalls
str TemplateReceiveAndMergeCell_ReceiveAndMergeCalls
str TemplateExchangeRoutines_deleteAllStacks_Prologue
str TemplateExchangeRoutines_deleteAllStacks_Exchange
str TemplateExchangeRoutines_deleteAllStacks_Epilogue
str TemplateImplementationFilePrologue

Private Member Functions

 __generate_header (self, overwrite, directory)
 __generate_constructor (self, output_file)
 __generate_beginTraversal (self, output_file)
 __generate_endTraversal (self, output_file)
 __generate_prepareTraversal (self, output_file)
 __generate_unprepareTraversal (self, output_file)
 __format_template_per_action (self, output_file, template, reverse_order=False, manual_dict=None)
 Takes the specified template file, iterates over actions and pastes the template into the output file once per action.
 __render_template_for_action (self, template, action_index, manual_dict)
 Render template for the action set with the given index, i.e.
 __format_template_per_task_group (self, output_file, template, reverse_order=False, manual_dict=None)
 Counterpart of __format_template_per_action() which takes the task groups into account.
 __generate_createGridControlEventsForNextTraversal (self, output_file)
 __generate_clone (self, output_file)
 __generate_loadCell (self, output_file)
 __generate_enterCell (self, output_file)
 Generates enter cell.
 __generate_leaveCell (self, output_file)
 Generates enter cell.
 __generate_storeCell (self, output_file)
 __generate_exchange_routines (self, output_file)
 __generate_implementation (self, overwrite, full_qualified_filename)

Detailed Description

C++ observer of one mesh traversal.

Task groups

The observer invokes its action sets one by one: Per event, such as touchVertexFirstTime() or createCell(), it runs through the action sets and invokes the event on each of them. The action sets can be split into task groups, i.e. consecutive action sets which may run in parallel (peano4.api.solversteps.SynchroniseActionSets.get_task_groups()). Within enterCell() and leaveCell(), the observer embeds the code which invokes the events of a group's action sets into one task per action set, spawns these tasks and waits for them (tarch.multicore.spawnAndWait()) before it continues with the next group. This holds for all events, i.e. the create, touch and destroy events of vertices, faces and cells. The tasks capture everything by reference, which is safe, as the observer waits for them. A group with one action set yields exactly the same code as an observer without task groups.

Definition at line 17 of file Observer.py.

Constructor & Destructor Documentation

◆ __init__()

peano4.api.output.Observer.Observer.__init__ ( self,
classname,
namespace,
subdirectory,
included_actions,
vertices,
faces,
cells,
task_groups = None )
Parameters
included_actions[str] Full qualified names of the action sets in invocation order.
task_groups[[int]] or None Groups of indices into included_actions. The groups are invoked one after the other, the action sets within a group in parallel. Concatenated, the groups have to yield 0, 1, 2, ..., i.e. every action set exactly once and in invocation order. If None, every action set forms a group of its own.

Definition at line 43 of file Observer.py.

Member Function Documentation

◆ __format_template_per_action()

peano4.api.output.Observer.Observer.__format_template_per_action ( self,
output_file,
template,
reverse_order = False,
manual_dict = None )
private

Takes the specified template file, iterates over actions and pastes the template into the output file once per action.

Per action, the dictionary's entries are updated. Otherwise, the dictionary remains unchanged.

output_file: Handle on output file

Definition at line 529 of file Observer.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, and included_actions.

Referenced by __generate_createGridControlEventsForNextTraversal().

Here is the caller graph for this function:

◆ __format_template_per_task_group()

peano4.api.output.Observer.Observer.__format_template_per_task_group ( self,
output_file,
template,
reverse_order = False,
manual_dict = None )
private

Counterpart of __format_template_per_action() which takes the task groups into account.

The groups are handled one after the other. A group with one action set yields exactly the code of __format_template_per_action(). For a group with several action sets, the code of each action set is embedded into a lambda which captures everything by reference. Each lambda is spawned as a task, and the code waits for all of them before it continues. See the class documentation.

Parameters
reverse_orderbool Invoke the groups, and the action sets within each group, in reversed order, as we do for all events of leaveCell().

Definition at line 580 of file Observer.py.

References __render_template_for_action(), and task_groups.

Referenced by __generate_enterCell(), and __generate_leaveCell().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ __generate_beginTraversal()

peano4.api.output.Observer.Observer.__generate_beginTraversal ( self,
output_file )
private

Definition at line 360 of file Observer.py.

References cells, api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, faces, included_actions, TemplateBeginTraversal, and vertices.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __generate_clone()

peano4.api.output.Observer.Observer.__generate_clone ( self,
output_file )
private

Definition at line 658 of file Observer.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, and TemplateClone.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __generate_constructor()

peano4.api.output.Observer.Observer.__generate_constructor ( self,
output_file )
private

Definition at line 319 of file Observer.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, included_actions, and TemplateConstructor.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __generate_createGridControlEventsForNextTraversal()

peano4.api.output.Observer.Observer.__generate_createGridControlEventsForNextTraversal ( self,
output_file )
private

Definition at line 645 of file Observer.py.

References __format_template_per_action(), api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, TemplateGetGridControlEvents_Epilogue, TemplateGetGridControlEvents_MappingCall, and TemplateGetGridControlEvents_Prologue.

Referenced by __generate_implementation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ __generate_endTraversal()

peano4.api.output.Observer.Observer.__generate_endTraversal ( self,
output_file )
private

Definition at line 433 of file Observer.py.

References cells, api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, faces, included_actions, api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEndTraversal, TemplateEndTraversal, and vertices.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __generate_enterCell()

peano4.api.output.Observer.Observer.__generate_enterCell ( self,
output_file )
private

Generates enter cell.

Definition at line 994 of file Observer.py.

References __format_template_per_task_group(), cells, api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, faces, mkSubDict(), TemplateEnterCell_CellMappingCall, TemplateEnterCell_Epilogue, TemplateEnterCell_FaceMappingCall, TemplateEnterCell_MappingCall, TemplateEnterCell_Prologue, TemplateEnterCell_VertexMappingCall, and vertices.

Referenced by __generate_implementation().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ __generate_exchange_routines()

peano4.api.output.Observer.Observer.__generate_exchange_routines ( self,
output_file )
private

Definition at line 1789 of file Observer.py.

References cells, api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, faces, TemplateExchangeRoutines_deleteAllStacks_Epilogue, TemplateExchangeRoutines_deleteAllStacks_Exchange, TemplateExchangeRoutines_deleteAllStacks_Prologue, TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Epilogue, TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Exchange, TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Prologue, TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Epilogue, TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Exchange, TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Prologue, TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Epilogue, TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Exchange, TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Prologue, TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Epilogue, TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Exchange, TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Prologue, TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Epilogue, TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Exchange, TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Prologue, TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Epilogue, TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Exchange, TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Prologue, TemplateReceiveAndMergeCell_Epilogue, TemplateReceiveAndMergeCell_Prologue, TemplateReceiveAndMergeCell_ReceiveAndMergeCalls, TemplateReceiveAndMergeFace_Epilogue, TemplateReceiveAndMergeFace_Prologue, TemplateReceiveAndMergeFace_ReceiveAndMergeCalls, TemplateReceiveAndMergeVertex_Epilogue, TemplateReceiveAndMergeVertex_Prologue, TemplateReceiveAndMergeVertex_ReceiveAndMergeCalls, TemplateSendCell_Epilogue, TemplateSendCell_Prologue, TemplateSendCell_SendCall, TemplateSendFace_Epilogue, TemplateSendFace_Prologue, TemplateSendFace_SendCall, TemplateSendVertex_Epilogue, TemplateSendVertex_Prologue, TemplateSendVertex_SendCall, and vertices.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __generate_header()

peano4.api.output.Observer.Observer.__generate_header ( self,
overwrite,
directory )
private

Definition at line 291 of file Observer.py.

References peano4.api.output.ActionSet.ActionSet.classname, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.classname, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.classname, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.classname, classname, peano4.api.output.Constants.Constants.default_overwrite, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.default_overwrite, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.default_overwrite, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.default_overwrite, peano4.api.output.Makefile.Makefile.default_overwrite, default_overwrite, mkSubDict(), exahype2.api.dslhype2.AbstractSyntaxTree.Function.namespace, peano4.api.datamodel.DoF.DoF.namespace, peano4.api.datamodel.Model.Model.namespace, peano4.api.output.ActionSet.ActionSet.namespace, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.namespace, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.namespace, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.namespace, namespace, peano4.api.datamodel.DoF.DoF.subdirectory, peano4.api.datamodel.Model.Model.subdirectory, peano4.api.output.ActionSet.ActionSet.subdirectory, peano4.api.output.InvokeExternalTool.InvokeExternalTool.subdirectory, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.subdirectory, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.subdirectory, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.subdirectory, and subdirectory.

Referenced by generate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ __generate_implementation()

peano4.api.output.Observer.Observer.__generate_implementation ( self,
overwrite,
full_qualified_filename )
private

Definition at line 2191 of file Observer.py.

References __generate_beginTraversal(), __generate_clone(), __generate_constructor(), __generate_createGridControlEventsForNextTraversal(), __generate_endTraversal(), __generate_enterCell(), __generate_exchange_routines(), __generate_leaveCell(), __generate_loadCell(), __generate_prepareTraversal(), __generate_storeCell(), __generate_unprepareTraversal(), api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, peano4.api.output.Constants.Constants.default_overwrite, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.default_overwrite, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.default_overwrite, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.default_overwrite, peano4.api.output.Makefile.Makefile.default_overwrite, default_overwrite, and TemplateImplementationFilePrologue.

Referenced by generate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ __generate_leaveCell()

peano4.api.output.Observer.Observer.__generate_leaveCell ( self,
output_file )
private

◆ __generate_loadCell()

peano4.api.output.Observer.Observer.__generate_loadCell ( self,
output_file )
private

Definition at line 946 of file Observer.py.

References cells, api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, faces, TemplateLoadCell_CellLoad, TemplateLoadCell_Epilogue, TemplateLoadCell_FaceLoad, TemplateLoadCell_Prologue, TemplateLoadCell_VertexLoad, and vertices.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __generate_prepareTraversal()

peano4.api.output.Observer.Observer.__generate_prepareTraversal ( self,
output_file )
private

Definition at line 499 of file Observer.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, included_actions, and TemplatePrepareTraversal.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __generate_storeCell()

peano4.api.output.Observer.Observer.__generate_storeCell ( self,
output_file )
private

Definition at line 1409 of file Observer.py.

References cells, api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, faces, TemplateStoreCell_CellStore, TemplateStoreCell_Epilogue, TemplateStoreCell_FaceStore, TemplateStoreCell_Prologue, TemplateStoreCell_VertexStore, and vertices.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __generate_unprepareTraversal()

peano4.api.output.Observer.Observer.__generate_unprepareTraversal ( self,
output_file )
private

Definition at line 519 of file Observer.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, included_actions, and TemplateUnprepareTraversal.

Referenced by __generate_implementation().

Here is the caller graph for this function:

◆ __render_template_for_action()

peano4.api.output.Observer.Observer.__render_template_for_action ( self,
template,
action_index,
manual_dict )
private

Render template for the action set with the given index, i.e.

the C++ code with which the observer invokes this action set's events

Definition at line 568 of file Observer.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, and included_actions.

Referenced by __format_template_per_task_group().

Here is the caller graph for this function:

◆ generate()

peano4.api.output.Observer.Observer.generate ( self,
overwrite,
directory )

Definition at line 2219 of file Observer.py.

References peano4.api.output.ActionSet.ActionSet.__generate_header(), __generate_header(), peano4.api.output.ActionSet.ActionSet.__generate_implementation(), __generate_implementation(), peano4.api.output.ActionSet.ActionSet.classname, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.classname, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.classname, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.classname, classname, peano4.api.output.Constants.Constants.default_overwrite, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.default_overwrite, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.default_overwrite, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.default_overwrite, peano4.api.output.Makefile.Makefile.default_overwrite, default_overwrite, peano4.api.output.ActionSet.ActionSet.get_cpp_file_name(), get_cpp_file_name(), peano4.api.datamodel.DoF.DoF.subdirectory, peano4.api.datamodel.Model.Model.subdirectory, peano4.api.output.ActionSet.ActionSet.subdirectory, peano4.api.output.InvokeExternalTool.InvokeExternalTool.subdirectory, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.subdirectory, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.subdirectory, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.subdirectory, and subdirectory.

Referenced by peano4.api.Project.Project.build().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generateDictEntry()

peano4.api.output.Observer.Observer.generateDictEntry ( self,
key )

Some logic to produce new dictionary entries from existing ones.

This deals mainly with having to avoid C++ code with consequtive commata as some dict entries can be an empty string.

Definition at line 909 of file Observer.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, and UpdateFacets.UpdateFacets.d.

Referenced by mkSubDict().

Here is the caller graph for this function:

◆ get_cpp_file_name()

◆ mkSubDict()

peano4.api.output.Observer.Observer.mkSubDict ( self,
keys )

Create the particular subdictionary that's used for an expression.

Definition at line 929 of file Observer.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, d, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, and generateDictEntry().

Referenced by __generate_enterCell(), __generate_header(), and __generate_leaveCell().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ cells

◆ classname

◆ d

peano4.api.output.Observer.Observer.d = {}

Definition at line 83 of file Observer.py.

Referenced by __format_template_per_action(), __generate_beginTraversal(), __generate_clone(), __generate_constructor(), __generate_createGridControlEventsForNextTraversal(), __generate_endTraversal(), __generate_enterCell(), __generate_exchange_routines(), __generate_implementation(), __generate_loadCell(), __generate_prepareTraversal(), __generate_storeCell(), __generate_unprepareTraversal(), solvers.fv.actionsets.DynamicAMR.DynamicAMR.__init__(), solvers.fv.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.__init__(), __render_template_for_action(), solvers.aderdg.kernels.AMRRoutines.AMRRoutines._build_gemms(), solvers.aderdg.kernels.FusedSpaceTimePredictorVolumeIntegral.FusedSpaceTimePredictorVolumeIntegral._build_gemms(), solvers.limiting.kernels.Limiter.Limiter._build_gemms(), peano4.api.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.add_attribute_to_plot(), peano4.api.runner.DefaultSequence.DefaultSequence.construct_output(), peano4.api.solversteps.StepsToStepRepository.StepsToStepRepository.construct_output(), peano4.api.output.TemplatedHeaderImplementationFilePair.TemplatedHeaderImplementationFilePair.generate_file(), solvers.aderdg.kernels.AMRRoutines.AMRRoutines.generate_kernels(), solvers.aderdg.kernels.CellData.CellData.generate_kernels(), solvers.aderdg.kernels.DGMatrices.DGMatrices.generate_kernels(), solvers.aderdg.kernels.FusedSpaceTimePredictorVolumeIntegral.FusedSpaceTimePredictorVolumeIntegral.generate_kernels(), solvers.aderdg.kernels.Quadrature.Quadrature.generate_kernels(), solvers.limiting.kernels.Limiter.Limiter.generate_kernels(), solvers.limiting.kernels.Quadrature.Quadrature.generate_kernels(), generateDictEntry(), api.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_attributes(), peano4.api.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_attributes(), peano4.api.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.get_attributes(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_attributes(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_attributes(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_attributes(), peano4.api.toolbox.CreateRegularGrid.CreateRegularGrid.get_body_of_createGridControlEventsForNextTraversal(), api.BackupPatchOverlap.BackupPatchOverlap.get_body_of_operation(), api.DynamicAMR.DynamicAMR.get_body_of_operation(), api.InterpolateAndRestrictCells.InterpolateAndRestrictCells.get_body_of_operation(), api.InterpolateHangingFaces.InterpolateHangingFaces.get_body_of_operation(), api.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_body_of_operation(), api.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.get_body_of_operation(), api.ProjectPatchOntoFaces.ProjectPatchOntoFaces.get_body_of_operation(), api.RestrictHangingFaces.RestrictHangingFaces.get_body_of_operation(), 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(), peano4.api.toolbox.multigrid.cellbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_body_of_operation(), peano4.api.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_body_of_operation(), peano4.api.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_body_of_operation(), peano4.api.toolbox.particles.api.UpdateParallelState.UpdateParallelState.get_body_of_operation(), peano4.api.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.get_body_of_operation(), peano4.api.toolbox.particles.api.UpdateParticleGridAssociation_LiftDrop.UpdateParticleGridAssociation_LiftDrop.get_body_of_operation(), peano4.api.toolbox.particles.api.UpdateParticleGridAssociation_Reassign.UpdateParticleGridAssociation_Reassign.get_body_of_operation(), peano4.api.toolbox.particles.GatherParticlesInMemoryPool.GatherParticlesInMemoryPool.get_body_of_operation(), peano4.api.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.get_body_of_operation(), peano4.api.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.get_body_of_operation(), peano4.api.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.get_body_of_operation(), peano4.api.toolbox.particles.ParticleAMR.ParticleAMR.get_body_of_operation(), peano4.api.toolbox.particles.ParticleTreeAnalysis.ParticleTreeAnalysis.get_body_of_operation(), peano4.api.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.get_body_of_operation(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_body_of_operation(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_body_of_operation(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_body_of_operation(), peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.get_body_of_operation(), peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.get_body_of_operation(), peano4.api.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.get_body_of_operation(), peano4.api.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.get_body_of_operation(), peano4.api.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.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(), peano4.api.toolbox.particles.api.UpdateParallelState.UpdateParallelState.get_body_of_prepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_body_of_prepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_body_of_prepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_body_of_prepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.get_body_of_prepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.get_body_of_prepareTraversal(), peano4.api.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_body_of_unprepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_body_of_unprepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_body_of_unprepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_body_of_unprepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.get_body_of_unprepareTraversal(), peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.get_body_of_unprepareTraversal(), api.DynamicAMR.DynamicAMR.get_clear_guard(), api.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_constructor_body(), api.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.get_constructor_body(), peano4.api.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_constructor_body(), peano4.api.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.get_constructor_body(), peano4.api.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.get_constructor_body(), peano4.api.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.get_constructor_body(), peano4.api.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.get_constructor_body(), peano4.api.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.get_constructor_body(), tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_constructor_body(), peano4.api.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.get_destructor_body(), api.BackupPatchOverlap.BackupPatchOverlap.get_guard_of_operation(), api.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_guard_of_operation(), api.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.get_guard_of_operation(), api.ProjectPatchOntoFaces.ProjectPatchOntoFaces.get_guard_of_operation(), peano4.api.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_guard_of_operation(), peano4.api.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.get_guard_of_operation(), peano4.api.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.get_guard_of_operation(), peano4.api.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.get_guard_of_operation(), peano4.api.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_includes(), peano4.api.toolbox.particles.api.UpdateParallelState.UpdateParallelState.get_includes(), peano4.api.toolbox.particles.GatherParticlesInMemoryPool.GatherParticlesInMemoryPool.get_includes(), peano4.api.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.get_includes(), peano4.api.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.get_includes(), peano4.api.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.get_includes(), peano4.api.toolbox.particles.ParticleAMR.ParticleAMR.get_includes(), peano4.api.toolbox.particles.ParticleTreeAnalysis.ParticleTreeAnalysis.get_includes(), peano4.api.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.get_includes(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_includes(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_includes(), peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_includes(), peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.get_includes(), peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.get_includes(), tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_includes(), tracer.InsertParticlesFromFile.InsertParticlesFromFile.get_includes(), api.DynamicAMR.DynamicAMR.get_interpolate_guard(), api.DynamicAMR.DynamicAMR.get_restrict_guard(), api.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), api.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), mkSubDict(), api.BackupPatchOverlap.BackupPatchOverlap.set_guard_predicate(), api.DynamicAMR.DynamicAMR.switch_interpolation_scheme(), and api.DynamicAMR.DynamicAMR.switch_restriction_scheme().

◆ default_overwrite

◆ faces

◆ included_actions

◆ namespace

peano4.api.output.Observer.Observer.namespace = namespace

Definition at line 68 of file Observer.py.

Referenced by __generate_header(), and peano4.api.Project.Project.add_subproject().

◆ subdirectory

◆ task_groups

peano4.api.output.Observer.Observer.task_groups = task_groups

Definition at line 78 of file Observer.py.

Referenced by __format_template_per_task_group().

◆ TemplateBeginTraversal

peano4.api.output.Observer.Observer.TemplateBeginTraversal
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::beginTraversal( const tarch::la::Vector<Dimensions,double>& x, const tarch::la::Vector<Dimensions,double>& h ) {
logTraceInWith2Arguments( "beginTraversal(...)", x, h );
//
// Invoke beginTraversal() on the actions
//
{{MAPPING_BEGIN_TRAVERSAL_CALLS}}
//
// Fill call stacks with dummies which represent level 0 such that we can
// call standard action routines on level 1 with parents. Without these
// statements, a top(1) call would raise an assertion.
//
{{INITIAL_PUSH_TO_OUTPUT_STREAMS}}
logTraceOutWith2Arguments( "beginTraversal(...)", x, h );
}
"""

Definition at line 340 of file Observer.py.

Referenced by __generate_beginTraversal().

◆ TemplateClone

peano4.api.output.Observer.Observer.TemplateClone
static
Initial value:
= """
peano4::grid::TraversalObserver* {{FULL_QUALIFIED_CLASSNAME}}::clone(int spacetreeId) {
return new {{CLASSNAME}}(spacetreeId);
}
"""

Definition at line 332 of file Observer.py.

Referenced by __generate_clone().

◆ TemplateConstructor

peano4.api.output.Observer.Observer.TemplateConstructor
static
Initial value:
= """
{{FULL_QUALIFIED_CLASSNAME}}::{{CLASSNAME}}(int spacetreeId):
_spacetreeId( spacetreeId ) {{MAPPING_INITIALISATION_LIST}}
{}
"""

Definition at line 310 of file Observer.py.

Referenced by __generate_constructor().

◆ TemplateEndTraversal

peano4.api.output.Observer.Observer.TemplateEndTraversal
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::endTraversal( const tarch::la::Vector<Dimensions,double>& x, const tarch::la::Vector<Dimensions,double>& h ) {
logTraceInWith2Arguments( "endTraversal(...)", x, h );
{{MAPPING_END_TRAVERSAL_CALLS}}
{{FINAL_POP_FROM_INPUT_STREAMS}}
logTraceOutWith2Arguments( "endTraversal(...)", x, h );
}
"""

Definition at line 422 of file Observer.py.

Referenced by __generate_endTraversal().

◆ TemplateEnterCell_CellMappingCall

peano4.api.output.Observer.Observer.TemplateEnterCell_CellMappingCall
static
Initial value:
= r"""
// Invoke creational events on cell {{logical_type_name}}
{
peano4::datamanagement::CellMarker marker = cellMarker;
if (
event.getCellData()==peano4::grid::TraversalObserver::CreateOrDestroyPersistentGridEntity
and
marker.isLocal()
) {
{{ACTIVE_ACTION_SET}}.createCell(
marker,
{{MAPPING_SIGNATURE_FINE_GRID_VERTICES_ARGUMENTS_COMMA_}}
{{MAPPING_SIGNATURE_FINE_GRID_FACES_ARGUMENTS_COMMA_}}
{{MAPPING_SIGNATURE_FINE_GRID_CELL_ARGUMENTS_PICK_ENTRY}}
{{_COMMA_MAPPING_SIGNATURE_COARSE_GRID_VERTICES_ARGUMENTS}}
{{_COMMA_MAPPING_SIGNATURE_COARSE_GRID_FACES_ARGUMENTS}}
{{_COMMA_MAPPING_SIGNATURE_COARSE_GRID_CELL_ARGUMENTS}}
);
}
}
"""

Definition at line 864 of file Observer.py.

Referenced by __generate_enterCell().

◆ TemplateEnterCell_Epilogue

peano4.api.output.Observer.Observer.TemplateEnterCell_Epilogue
static
Initial value:
= """
logTraceOut( "enterCell(...)" );
}
"""

Definition at line 902 of file Observer.py.

Referenced by __generate_enterCell().

◆ TemplateEnterCell_FaceMappingCall

peano4.api.output.Observer.Observer.TemplateEnterCell_FaceMappingCall
static

Definition at line 776 of file Observer.py.

Referenced by __generate_enterCell().

◆ TemplateEnterCell_MappingCall

peano4.api.output.Observer.Observer.TemplateEnterCell_MappingCall
static
Initial value:
= r"""
{
peano4::datamanagement::CellMarker marker( event );
if (
marker.isLocal()
) {
{{ACTIVE_ACTION_SET}}.touchCellFirstTime(
marker
{{_COMMA_MAPPING_SIGNATURE_FINE_GRID_VERTICES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_FINE_GRID_FACES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_FINE_GRID_CELL_ARGUMENTS_CELL_EVENT}}
{{_COMMA_MAPPING_SIGNATURE_COARSE_GRID_VERTICES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_COARSE_GRID_FACES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_COARSE_GRID_CELL_ARGUMENTS_CELL_EVENT}}
);
}
}
"""

Definition at line 887 of file Observer.py.

Referenced by __generate_enterCell().

◆ TemplateEnterCell_Prologue

peano4.api.output.Observer.Observer.TemplateEnterCell_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::enterCell( const peano4::grid::GridTraversalEvent& event ) {
logTraceInWith2Arguments( "enterCell(...)", _spacetreeId, event.toString() );
[[maybe_unused]] const peano4::datamanagement::CellMarker cellMarker( event );
[[maybe_unused]] const peano4::datamanagement::FaceMarker faceMarker( event );
[[maybe_unused]] const peano4::datamanagement::VertexMarker vertexMarker(event);
"""

Definition at line 661 of file Observer.py.

Referenced by __generate_enterCell().

◆ TemplateEnterCell_VertexMappingCall

peano4.api.output.Observer.Observer.TemplateEnterCell_VertexMappingCall
static

Definition at line 693 of file Observer.py.

Referenced by __generate_enterCell().

◆ TemplateExchangeRoutines_deleteAllStacks_Epilogue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_deleteAllStacks_Epilogue
static
Initial value:
= """
logTraceOut( "deleteAllStacks()");
}
"""

Definition at line 1782 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_deleteAllStacks_Exchange

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_deleteAllStacks_Exchange
static
Initial value:
= """
peano4::parallel::SpacetreeSet::deleteAllStacks(
{{DATASET}},
_spacetreeId
);
"""

Definition at line 1775 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_deleteAllStacks_Prologue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_deleteAllStacks_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::deleteAllStacks() {
logTraceInWith1Argument( "deleteAllStacks()", _spacetreeId );
"""

Definition at line 1770 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Epilogue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Epilogue
static
Initial value:
= """
logTraceOut( "exchangeAllHorizontalDataExchangeStacks(...)" );
}
"""

Definition at line 1498 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Exchange

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Exchange
static
Initial value:
= """
peano4::parallel::SpacetreeSet::exchangeAllHorizontalDataExchangeStacks(
{{DATASET}},
_spacetreeId,
symmetricDataCardinality
);
"""

Definition at line 1490 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Prologue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllHorizontalDataExchangeStacks_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::exchangeAllHorizontalDataExchangeStacks( bool symmetricDataCardinality ) {
logTraceInWith2Arguments( "exchangeAllHorizontalDataExchangeStacks(...)", symmetricDataCardinality, _spacetreeId );
"""

Definition at line 1485 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Epilogue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Epilogue
static
Initial value:
= """
logTraceOut( "exchangeAllPeriodicBoundaryDataStacks()" );
}
"""

Definition at line 1517 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Exchange

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Exchange
static
Initial value:
= """
peano4::parallel::SpacetreeSet::exchangeAllPeriodicBoundaryDataStacks(
{{DATASET}},
_spacetreeId
);
"""

Definition at line 1510 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Prologue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllPeriodicBoundaryDataStacks_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::exchangeAllPeriodicBoundaryDataStacks() {
logTraceInWith1Argument( "exchangeAllPeriodicBoundaryDataStacks()", _spacetreeId );
"""

Definition at line 1505 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Epilogue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Epilogue
static
Initial value:
= """
logTraceOut( "exchangeAllVerticalDataExchangeStacks(...)" );
}
"""

Definition at line 1478 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Exchange

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Exchange
static
Initial value:
= """
peano4::parallel::SpacetreeSet::exchangeAllVerticalDataExchangeStacks(
{{DATASET}},
_spacetreeId,
masterId
);
"""

Definition at line 1470 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Prologue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_exchangeAllVerticalDataExchangeStacks_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::exchangeAllVerticalDataExchangeStacks( int masterId ) {
logTraceInWith2Arguments( "exchangeAllVerticalDataExchangeStacks(...)", masterId, _spacetreeId );
"""

Definition at line 1465 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Epilogue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Epilogue
static
Initial value:
= """
logTraceOut( "finishAllOutstandingSendsAndReceives()");
}
"""

Definition at line 1576 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Exchange

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Exchange
static
Initial value:
= """
peano4::parallel::SpacetreeSet::finishAllOutstandingSendsAndReceives(
{{DATASET}},
_spacetreeId
);
"""

Definition at line 1569 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Prologue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_finishAllOutstandingSendsAndReceives_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::finishAllOutstandingSendsAndReceives() {
logTraceInWith1Argument( "finishAllOutstandingSendsAndReceives()", _spacetreeId );
"""

Definition at line 1564 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Epilogue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Epilogue
static
Initial value:
= """
logTraceOut( "streamDataFromJoiningTreeToMasterTree(int)");
}
"""

Definition at line 1557 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Exchange

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Exchange
static
Initial value:
= """
peano4::parallel::SpacetreeSet::streamDataFromJoiningTreeToMasterTree(
{{DATASET}},
_spacetreeId,
master
);
"""

Definition at line 1549 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Prologue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_streamDataFromJoiningTreeToMasterTree_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::streamDataFromJoiningTreeToMasterTree(int master) {
logTraceInWith2Arguments( "streamDataFromJoiningTreeToMasterTree(int)", _spacetreeId, master );
"""

Definition at line 1544 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Epilogue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Epilogue
static
Initial value:
= """
logTraceOut( "streamDataFromSplittingTreeToNewTree(int)");
}
"""

Definition at line 1537 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Exchange

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Exchange
static
Initial value:
= """
peano4::parallel::SpacetreeSet::streamDataFromSplittingTreeToNewTree(
{{DATASET}},
_spacetreeId,
newWorker
);
"""

Definition at line 1529 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Prologue

str peano4.api.output.Observer.Observer.TemplateExchangeRoutines_streamDataFromSplittingTreeToNewTree_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::streamDataFromSplittingTreeToNewTree(int newWorker) {
logTraceInWith2Arguments( "streamDataFromSplittingTreeToNewTree(int)", _spacetreeId, newWorker );
"""

Definition at line 1524 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateGetGridControlEvents_Epilogue

peano4.api.output.Observer.Observer.TemplateGetGridControlEvents_Epilogue
static
Initial value:
= """
return result;
}
"""

Definition at line 638 of file Observer.py.

Referenced by __generate_createGridControlEventsForNextTraversal().

◆ TemplateGetGridControlEvents_MappingCall

peano4.api.output.Observer.Observer.TemplateGetGridControlEvents_MappingCall
static
Initial value:
= """
{
const std::vector< peano4::grid::GridControlEvent > actionResult = {{ACTIVE_ACTION_SET}}.createGridControlEventsForNextTraversal();
result.insert(result.begin(),actionResult.begin(),actionResult.end());
}
"""

Definition at line 631 of file Observer.py.

Referenced by __generate_createGridControlEventsForNextTraversal().

◆ TemplateGetGridControlEvents_Prologue

peano4.api.output.Observer.Observer.TemplateGetGridControlEvents_Prologue
static
Initial value:
= """
std::vector< peano4::grid::GridControlEvent > {{FULL_QUALIFIED_CLASSNAME}}::createGridControlEventsForNextTraversal() const {
std::vector< peano4::grid::GridControlEvent > result;
"""

Definition at line 625 of file Observer.py.

Referenced by __generate_createGridControlEventsForNextTraversal().

◆ TemplateImplementationFilePrologue

peano4.api.output.Observer.Observer.TemplateImplementationFilePrologue
static
Initial value:
= """
#include "{{CLASSNAME}}.h"
{{DATAREPOSITORY_INCLUDES}}
#include "peano4/grid/PeanoCurve.h"
#include "peano4/datamanagement/VertexEnumerator.h"
#include "peano4/datamanagement/VertexMarker.h"
#include "peano4/datamanagement/FaceEnumerator.h"
#include "peano4/datamanagement/FaceMarker.h"
#include "peano4/datamanagement/CellMarker.h"
#include "peano4/datamanagement/VertexDataMovement.h"
#include "peano4/datamanagement/FaceDataMovement.h"
#include "peano4/datamanagement/CellDataMovement.h"
#include "peano4/parallel/SpacetreeSet.h"
tarch::logging::Log {{FULL_QUALIFIED_CLASSNAME}}::_log( "{{FULL_QUALIFIED_CLASSNAME}}" );
"""

Definition at line 2169 of file Observer.py.

Referenced by __generate_implementation().

◆ TemplateLeaveCell_CellStore_MappingCall

peano4.api.output.Observer.Observer.TemplateLeaveCell_CellStore_MappingCall
static
Initial value:
= """
{
peano4::datamanagement::CellMarker marker = cellMarker;
if (
event.getCellData()==peano4::grid::TraversalObserver::CreateOrDestroyPersistentGridEntity
and
marker.isLocal()
) {
{{ACTIVE_ACTION_SET}}.destroyCell(
marker
{{_COMMA_MAPPING_SIGNATURE_FINE_GRID_VERTICES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_FINE_GRID_FACES_ARGUMENTS}}
,{{MAPPING_SIGNATURE_FINE_GRID_CELL_ARGUMENTS_PICK_ENTRY}}
{{_COMMA_MAPPING_SIGNATURE_COARSE_GRID_VERTICES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_COARSE_GRID_FACES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_COARSE_GRID_CELL_ARGUMENTS}}
);
}
}
"""

Definition at line 1115 of file Observer.py.

Referenced by __generate_leaveCell().

◆ TemplateLeaveCell_Epilogue

peano4.api.output.Observer.Observer.TemplateLeaveCell_Epilogue
static
Initial value:
= """
logTraceOutWith1Argument( "leaveCell(...)", _spacetreeId );
}
"""

Definition at line 1313 of file Observer.py.

Referenced by __generate_leaveCell().

◆ TemplateLeaveCell_FaceStore_MappingCall

peano4.api.output.Observer.Observer.TemplateLeaveCell_FaceStore_MappingCall
static

Definition at line 1157 of file Observer.py.

Referenced by __generate_leaveCell().

◆ TemplateLeaveCell_MappingCall

peano4.api.output.Observer.Observer.TemplateLeaveCell_MappingCall
static
Initial value:
= """
{
peano4::datamanagement::CellMarker marker = cellMarker;
if (
marker.isLocal()
) {
{{ACTIVE_ACTION_SET}}.touchCellLastTime(
marker
{{_COMMA_MAPPING_SIGNATURE_FINE_GRID_VERTICES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_FINE_GRID_FACES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_FINE_GRID_CELL_ARGUMENTS_CELL_EVENT}}
{{_COMMA_MAPPING_SIGNATURE_COARSE_GRID_VERTICES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_COARSE_GRID_FACES_ARGUMENTS_COMMA_MAPPING_SIGNATURE_COARSE_GRID_CELL_ARGUMENTS_CELL_EVENT}}
);
}
}
"""

Definition at line 1099 of file Observer.py.

Referenced by __generate_leaveCell().

◆ TemplateLeaveCell_Prologue

peano4.api.output.Observer.Observer.TemplateLeaveCell_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::leaveCell( const peano4::grid::GridTraversalEvent& event ) {
logTraceInWith2Arguments( "leaveCell(...)", _spacetreeId, event.toString() );
[[maybe_unused]] const peano4::datamanagement::CellMarker cellMarker( event );
[[maybe_unused]] const peano4::datamanagement::FaceMarker faceMarker( event );
[[maybe_unused]] const peano4::datamanagement::VertexMarker vertexMarker(event);
"""

Definition at line 1090 of file Observer.py.

Referenced by __generate_leaveCell().

◆ TemplateLeaveCell_VertexStore_MappingCall

peano4.api.output.Observer.Observer.TemplateLeaveCell_VertexStore_MappingCall
static

Definition at line 1237 of file Observer.py.

Referenced by __generate_leaveCell().

◆ TemplateLoadCell_CellLoad

peano4.api.output.Observer.Observer.TemplateLoadCell_CellLoad
static
Initial value:
= r"""
// Load cell {{logical_type_name}}
std::function<void ()> loadCell{{logical_type_name}} =
[&]()->void {
::peano4::datamanagement::loadCellData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
event,
cellMarker,
"{{name}}",
[&](const peano4::datamanagement::CellMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
};
tasks.push_back( new tarch::multicore::TaskWithoutCopyOfFunctor(
tarch::multicore::Task::DontFuse,
tarch::multicore::Task::DefaultPriority,
loadCell{{logical_type_name}}
));
"""

Definition at line 841 of file Observer.py.

Referenced by __generate_loadCell().

◆ TemplateLoadCell_Epilogue

peano4.api.output.Observer.Observer.TemplateLoadCell_Epilogue
static
Initial value:
= """
tarch::multicore::spawnAndWait(tasks);
logTraceOutWith1Argument( "loadCell(...)", _spacetreeId );
}
"""

Definition at line 1320 of file Observer.py.

Referenced by __generate_loadCell().

◆ TemplateLoadCell_FaceLoad

peano4.api.output.Observer.Observer.TemplateLoadCell_FaceLoad
static
Initial value:
= r"""
// Load face {{logical_type_name}}
std::function<void ()> loadFace{{logical_type_name}} =
[&]()->void {
::peano4::datamanagement::loadFaceData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
event,
faceMarker,
"{{name}}",
[&](const peano4::datamanagement::FaceMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
};
tasks.push_back( new tarch::multicore::TaskWithoutCopyOfFunctor(
tarch::multicore::Task::DontFuse,
tarch::multicore::Task::DefaultPriority,
loadFace{{logical_type_name}}
));
"""

Definition at line 753 of file Observer.py.

Referenced by __generate_loadCell().

◆ TemplateLoadCell_Prologue

peano4.api.output.Observer.Observer.TemplateLoadCell_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::loadCell( const peano4::grid::GridTraversalEvent& event ) {
logTraceInWith2Arguments( "loadCell(...)", _spacetreeId, event.toString() );
[[maybe_unused]] const peano4::datamanagement::CellMarker cellMarker( event );
[[maybe_unused]] const peano4::datamanagement::FaceMarker faceMarker( event );
[[maybe_unused]] const peano4::datamanagement::VertexMarker vertexMarker(event);
std::vector< tarch::multicore::Task* > tasks;
"""

Definition at line 1068 of file Observer.py.

Referenced by __generate_loadCell().

◆ TemplateLoadCell_VertexLoad

peano4.api.output.Observer.Observer.TemplateLoadCell_VertexLoad
static
Initial value:
= r"""
// Load vertex {{logical_type_name}}
std::function<void ()> loadVertex{{logical_type_name}} =
[&]()->void {
::peano4::datamanagement::loadVertexData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
event,
vertexMarker,
"{{name}}",
[&](const peano4::datamanagement::VertexMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
};
tasks.push_back( new tarch::multicore::TaskWithoutCopyOfFunctor(
tarch::multicore::Task::DontFuse,
tarch::multicore::Task::DefaultPriority,
loadVertex{{logical_type_name}}
));
"""

Definition at line 670 of file Observer.py.

Referenced by __generate_loadCell().

◆ TemplatePrepareTraversal

peano4.api.output.Observer.Observer.TemplatePrepareTraversal
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::prepareTraversal() {
logTraceIn( "prepareTraversal(...)" );
{{MAPPING_PREPARE_TRAVERSAL_CALLS}}
logTraceOut( "prepareTraversal(...)" );
}
"""

Definition at line 489 of file Observer.py.

Referenced by __generate_prepareTraversal().

◆ TemplateReceiveAndMergeCell_Epilogue

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeCell_Epilogue
static
Initial value:
= """
logTraceOut( "receiveAndMergeCell(...)");
}
"""

Definition at line 1682 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateReceiveAndMergeCell_Prologue

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeCell_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::receiveAndMergeCell(int fromStack, peano4::grid::TraversalObserver::SendReceiveContext context, const peano4::grid::GridTraversalEvent& event ) {
logTraceInWith3Arguments( "receiveAndMergeCell(...)", fromStack, event.toString(), _spacetreeId );
[[maybe_unused]] const peano4::datamanagement::CellMarker cellMarker( event );
"""

Definition at line 1675 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateReceiveAndMergeCell_ReceiveAndMergeCalls

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeCell_ReceiveAndMergeCalls
static
Initial value:
= """
::peano4::datamanagement::receiveAndMergeCellData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
fromStack,
context,
event,
cellMarker,
[&](const peano4::datamanagement::CellMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
},
[&]({{full_qualified_type}}& data, const peano4::datamanagement::CellMarker& marker) -> bool {
return data.receiveAndMerge(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
"""

Definition at line 1753 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateReceiveAndMergeFace_Epilogue

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeFace_Epilogue
static
Initial value:
= """
logTraceOut( "receiveAndMergeFace(...)");
}
"""

Definition at line 1703 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateReceiveAndMergeFace_Prologue

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeFace_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::receiveAndMergeFace(int position, int fromStack, peano4::grid::TraversalObserver::SendReceiveContext context, const peano4::grid::GridTraversalEvent& event) {
logTraceInWith4Arguments( "receiveAndMergeFace(...)", position, fromStack, event.toString(), _spacetreeId );
[[maybe_unused]] const peano4::datamanagement::FaceMarker faceMarker( event );
"""

Definition at line 1710 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateReceiveAndMergeFace_ReceiveAndMergeCalls

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeFace_ReceiveAndMergeCalls
static
Initial value:
= """
::peano4::datamanagement::receiveAndMergeFaceData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
position,
fromStack,
context,
event,
faceMarker,
[&](const peano4::datamanagement::FaceMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
},
[&]({{full_qualified_type}}& data, const peano4::datamanagement::FaceMarker& marker) -> bool {
return data.receiveAndMerge(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
"""

Definition at line 1735 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateReceiveAndMergeVertex_Epilogue

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeVertex_Epilogue
static
Initial value:
= """
logTraceOut( "receiveAndMergeVertex(...)");
}
"""

Definition at line 1696 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateReceiveAndMergeVertex_Prologue

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeVertex_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::receiveAndMergeVertex(int position, int fromStack, peano4::grid::TraversalObserver::SendReceiveContext context, const peano4::grid::GridTraversalEvent& event) {
logTraceInWith4Arguments( "receiveAndMergeVertex(...)", position, fromStack, event.toString(), _spacetreeId );
[[maybe_unused]] const peano4::datamanagement::VertexMarker vertexMarker(event);
"""

Definition at line 1689 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateReceiveAndMergeVertex_ReceiveAndMergeCalls

str peano4.api.output.Observer.Observer.TemplateReceiveAndMergeVertex_ReceiveAndMergeCalls
static
Initial value:
= """
::peano4::datamanagement::receiveAndMergeVertexData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
position,
fromStack,
context,
event,
vertexMarker,
[&](const peano4::datamanagement::VertexMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
},
[&]({{full_qualified_type}}& data, const peano4::datamanagement::VertexMarker& marker) -> bool {
return data.receiveAndMerge(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
"""

Definition at line 1717 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendCell_Epilogue

str peano4.api.output.Observer.Observer.TemplateSendCell_Epilogue
static
Initial value:
= """
logTraceOut( "sendCell(int,int,int)");
}
"""

Definition at line 1668 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendCell_Prologue

str peano4.api.output.Observer.Observer.TemplateSendCell_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::sendCell(int toStack, ::peano4::grid::TraversalObserver::SendReceiveContext context, const peano4::grid::GridTraversalEvent& event) {
logTraceInWith3Arguments( "sendCell(int,int,int)", toStack, event.toString(), _spacetreeId );
[[maybe_unused]] const peano4::datamanagement::CellMarker cellMarker( event );
"""

Definition at line 1645 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendCell_SendCall

str peano4.api.output.Observer.Observer.TemplateSendCell_SendCall
static
Initial value:
= """
::peano4::datamanagement::sendCellData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
toStack,
context,
cellMarker,
[&](const peano4::datamanagement::CellMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
},
[&](const {{full_qualified_type}}& data, const peano4::datamanagement::CellMarker& marker) -> bool {
return data.send(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
"""

Definition at line 1652 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendFace_Epilogue

str peano4.api.output.Observer.Observer.TemplateSendFace_Epilogue
static
Initial value:
= """
logTraceOut( "sendFace(int,int,int)");
}
"""

Definition at line 1638 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendFace_Prologue

str peano4.api.output.Observer.Observer.TemplateSendFace_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::sendFace(int position, int toStack, ::peano4::grid::TraversalObserver::SendReceiveContext context, const peano4::grid::GridTraversalEvent& event) {
logTraceInWith4Arguments( "sendFace(int,int,int)", position, toStack, event.toString(), _spacetreeId );
[[maybe_unused]] const peano4::datamanagement::FaceMarker faceMarker( event );
"""

Definition at line 1614 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendFace_SendCall

str peano4.api.output.Observer.Observer.TemplateSendFace_SendCall
static
Initial value:
= """
::peano4::datamanagement::sendFaceData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
position,
toStack,
context,
faceMarker,
[&](const peano4::datamanagement::FaceMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
},
[&](const {{full_qualified_type}}& data, const peano4::datamanagement::FaceMarker& marker) -> bool {
return data.send(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
"""

Definition at line 1621 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendVertex_Epilogue

str peano4.api.output.Observer.Observer.TemplateSendVertex_Epilogue
static
Initial value:
= """
logTraceOut( "sendVertex(int,int,int)");
}
"""

Definition at line 1607 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendVertex_Prologue

str peano4.api.output.Observer.Observer.TemplateSendVertex_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::sendVertex(int position, int toStack, ::peano4::grid::TraversalObserver::SendReceiveContext context, const peano4::grid::GridTraversalEvent& event) {
logTraceInWith4Arguments( "sendVertex(int,int,int)", position, toStack, event.toString(), _spacetreeId );
[[maybe_unused]] const peano4::datamanagement::VertexMarker vertexMarker(event);
"""

Definition at line 1583 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateSendVertex_SendCall

str peano4.api.output.Observer.Observer.TemplateSendVertex_SendCall
static
Initial value:
= """
::peano4::datamanagement::sendVertexData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
position,
toStack,
context,
vertexMarker,
[&](const peano4::datamanagement::VertexMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
},
[&](const {{full_qualified_type}}& data, const peano4::datamanagement::VertexMarker& marker) -> bool {
return data.send(marker);
}
);
"""

Definition at line 1590 of file Observer.py.

Referenced by __generate_exchange_routines().

◆ TemplateStoreCell_CellStore

peano4.api.output.Observer.Observer.TemplateStoreCell_CellStore
static
Initial value:
= """
// Store cell {{logical_type_name}}
std::function<void ()> storeCell{{logical_type_name}} =
[&]()->void {
::peano4::datamanagement::storeCellData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
event,
cellMarker,
"{{name}}",
[&](const peano4::datamanagement::CellMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
};
tasks.push_back( new tarch::multicore::TaskWithoutCopyOfFunctor(
tarch::multicore::Task::DontFuse,
tarch::multicore::Task::DefaultPriority,
storeCell{{logical_type_name}}
));
"""

Definition at line 1134 of file Observer.py.

Referenced by __generate_storeCell().

◆ TemplateStoreCell_Epilogue

peano4.api.output.Observer.Observer.TemplateStoreCell_Epilogue
static
Initial value:
= """
tarch::multicore::spawnAndWait( tasks );
logTraceOutWith1Argument( "storeCell(...)", _spacetreeId );
}
"""

Definition at line 1328 of file Observer.py.

Referenced by __generate_storeCell().

◆ TemplateStoreCell_FaceStore

peano4.api.output.Observer.Observer.TemplateStoreCell_FaceStore
static
Initial value:
= """
// Store face {{logical_type_name}}
std::function<void ()> storeFace{{logical_type_name}} =
[&]()->void {
::peano4::datamanagement::storeFaceData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
event,
faceMarker,
"{{name}}",
[&](const peano4::datamanagement::FaceMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
};
tasks.push_back( new tarch::multicore::TaskWithoutCopyOfFunctor(
tarch::multicore::Task::DontFuse,
tarch::multicore::Task::DefaultPriority,
storeFace{{logical_type_name}}
));
"""

Definition at line 1214 of file Observer.py.

Referenced by __generate_storeCell().

◆ TemplateStoreCell_Prologue

peano4.api.output.Observer.Observer.TemplateStoreCell_Prologue
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::storeCell( const peano4::grid::GridTraversalEvent& event ) {
logTraceInWith2Arguments( "storeCell(...)", _spacetreeId, event.toString() );
[[maybe_unused]] const peano4::datamanagement::CellMarker cellMarker( event );
[[maybe_unused]] const peano4::datamanagement::FaceMarker faceMarker( event );
[[maybe_unused]] const peano4::datamanagement::VertexMarker vertexMarker(event);
std::vector< tarch::multicore::Task* > tasks;
"""

Definition at line 1079 of file Observer.py.

Referenced by __generate_storeCell().

◆ TemplateStoreCell_VertexStore

peano4.api.output.Observer.Observer.TemplateStoreCell_VertexStore
static
Initial value:
= """
// Store vertex {{logical_type_name}}
std::function<void ()> storeVertex{{logical_type_name}} =
[&]()->void {
::peano4::datamanagement::storeVertexData<{{full_qualified_type}}>(
{{subnamespace}}repositories::DataRepository::_{{logical_type_name}}Stack,
_spacetreeId,
event,
vertexMarker,
"{{name}}",
[&](const peano4::datamanagement::VertexMarker& marker) -> ::peano4::grid::LoadStoreComputeFlag {
return {{full_qualified_type}}::loadStoreComputeFlag(marker{% for arg in ADDITIONAL_LOAD_STORE_ARGUMENTS %}, {{arg[0]}}{% endfor %});
}
);
};
tasks.push_back( new tarch::multicore::TaskWithoutCopyOfFunctor(
tarch::multicore::Task::DontFuse,
tarch::multicore::Task::DefaultPriority,
storeVertex{{logical_type_name}}
));
"""

Definition at line 1290 of file Observer.py.

Referenced by __generate_storeCell().

◆ TemplateUnprepareTraversal

peano4.api.output.Observer.Observer.TemplateUnprepareTraversal
static
Initial value:
= """
void {{FULL_QUALIFIED_CLASSNAME}}::unprepareTraversal() {
logTraceIn( "unprepareTraversal(...)" );
{{MAPPING_UNPREPARE_TRAVERSAL_CALLS}}
logTraceOut( "unprepareTraversal(...)" );
}
"""

Definition at line 509 of file Observer.py.

Referenced by __generate_unprepareTraversal().

◆ vertices


The documentation for this class was generated from the following file: