Peano
Loading...
Searching...
No Matches
api.actionsets.EnumerateDoFs.EnumerateDoFs Class Reference

Enumerate the vertices, cells and face entries. More...

Inheritance diagram for api.actionsets.EnumerateDoFs.EnumerateDoFs:
Collaboration diagram for api.actionsets.EnumerateDoFs.EnumerateDoFs:

Public Member Functions

 __init__ (self, solver, boundary_vertices_hold_data, boundary_faces_hold_data)
 A.
 
 get_body_of_operation (self, operation_name)
 Provide C++ code snippet for peano4.api.solversteps.ActionSet.OPERATION_TOUCH_VERTEX_FIRST_TIME

 
 get_action_set_name (self)
 Configure name of generated C++ action set.
 
 user_should_modify_template (self)
 The action set that Peano will generate that corresponds to this class should not be modified by users and can safely be overwritten every time we run the Python toolkit.
 
 get_attributes (self)
 Define the local map.
 
 get_constructor_body (self)
 Define body of constructor.
 
 get_includes (self)
 Consult multigrid.petsc.Project for details.
 
- Public Member Functions inherited from peano4.api.solversteps.ActionSet.ActionSet
 get_static_initialisations (self, full_qualified_classname)
 
 get_destructor_body (self)
 
 get_body_of_createGridControlEventsForNextTraversal (self)
 Return the grid control events that this action set wants to trigger.
 
 get_implementation_of_createGridControlEventsForNextTraversal (self)
 Return the C++ implementation of createGridControlEventsForNextTraversal()
 
 get_body_of_prepareTraversal (self)
 
 get_implementation_of_prepareTraversal (self)
 Return the C++ implementation of prepareTraversal()
 
 get_body_of_unprepareTraversal (self)
 
 get_implementation_of_unprepareTraversal (self)
 Return the C++ implementation of unprepareTraversal()
 
 get_guard_of_operation (self, operation_name)
 Return the guard of an operation.
 
 get_implementation_of_operation (self, operation_name)
 Return the C++ implementation of an operation.
 
bool may_run_in_background_task (self)
 May a task graph compiler move touchCellFirstTime() into a task.
 

Data Fields

 d
 
- Data Fields inherited from peano4.api.solversteps.ActionSet.ActionSet
 descend_invocation_order
 
 parallel
 

Static Public Attributes

str TemplateEnumerateVertex
 
str TemplateEnumerateFace
 
str TemplateEnumerateCell
 
str TemplateEndTraversal
 
- Static Public Attributes inherited from peano4.api.solversteps.ActionSet.ActionSet
int descend_invocation_order = 0
 
bool parallel = False
 
str OPERATION_BEGIN_TRAVERSAL = "beginTraversal"
 
str OPERATION_END_TRAVERSAL = "endTraversal"
 
str OPERATION_CREATE_PERSISTENT_VERTEX = "createPersistentVertex"
 
str OPERATION_DESTROY_PERSISTENT_VERTEX = "destroyPersistentVertex"
 
str OPERATION_CREATE_HANGING_VERTEX = "createHangingVertex"
 
str OPERATION_DESTROY_HANGING_VERTEX = "destroyHangingVertex"
 
str OPERATION_CREATE_PERSISTENT_FACE = "createPersistentFace"
 
str OPERATION_DESTROY_PERSISTENT_FACE = "destroyPersistentFace"
 
str OPERATION_CREATE_HANGING_FACE = "createHangingFace"
 
str OPERATION_DESTROY_HANGING_FACE = "destroyHangingFace"
 
str OPERATION_CREATE_CELL = "createCell"
 
str OPERATION_DESTROY_CELL = "destroyCell"
 
str OPERATION_TOUCH_VERTEX_FIRST_TIME = "touchVertexFirstTime"
 
str OPERATION_TOUCH_VERTEX_LAST_TIME = "touchVertexLastTime"
 
str OPERATION_TOUCH_FACE_FIRST_TIME = "touchFaceFirstTime"
 
str OPERATION_TOUCH_FACE_LAST_TIME = "touchFaceLastTime"
 
str OPERATION_TOUCH_CELL_FIRST_TIME = "touchCellFirstTime"
 
str OPERATION_TOUCH_CELL_LAST_TIME = "touchCellLastTime"
 

Detailed Description

Enumerate the vertices, cells and face entries.

This is the first step in a typical PETSc algorithm, as discussed on Peano 4 PETSc projects. It has to ensure that each mesh entity hosts the appropriate number of degrees of freedom. It hence strongly depends on the solver chosen, as different solvers place different amounts of data and auxiliary quantities on the mesh entities. The information on data cardinality is queried from the solver objects. The added logic contributed by this action set is if a mesh entity really holds unknowns or not. That is, this action set injects the domain layout and boundary data knowledge into the mesh. This guiding principles of this injection are discussed on Peano's generic boundary condition pages.

Definition at line 9 of file EnumerateDoFs.py.

Constructor & Destructor Documentation

◆ __init__()

api.actionsets.EnumerateDoFs.EnumerateDoFs.__init__ (   self,
  solver,
  boundary_vertices_hold_data,
  boundary_faces_hold_data 
)

A.

Enumerate vertex-associated degrees of freedom

The initialisation requires a solver object, as we have to know what C++ object this solver will produce, and we need to know how many unknowns we have per vertex.

solver: petsc.solvers.CollocatedLowOrderDiscretisation or similar solver where degrees of freedom are assigned exclusively to the vertices.

Reimplemented from peano4.api.solversteps.ActionSet.ActionSet.

Definition at line 191 of file EnumerateDoFs.py.

References api.actionsets.EnumerateDoFs.EnumerateDoFs.__init__().

Referenced by api.actionsets.EnumerateDoFs.EnumerateDoFs.__init__().

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

Member Function Documentation

◆ get_action_set_name()

api.actionsets.EnumerateDoFs.EnumerateDoFs.get_action_set_name (   self)

Configure name of generated C++ action set.

This action set will end up in the directory observers with a name that reflects how the observer (initialisation) is mapped onto this action set. The name pattern is ObserverName2ActionSetIdentifier where this routine co-determines the ActionSetIdentifier. We make is reflect the Python class name.

Reimplemented from peano4.api.solversteps.ActionSet.ActionSet.

Definition at line 246 of file EnumerateDoFs.py.

◆ get_attributes()

api.actionsets.EnumerateDoFs.EnumerateDoFs.get_attributes (   self)

Define the local map.

Every action set has excactly one attribute and that's an instance of petsc::LocalToGlobalMap. Before we run through a local mesh partition, the corresponding observer object will create a copy of the action set for this traversal. In the corresponding constructor, we initialise our thread-local copy of the map with the correct tree number.

Reimplemented from peano4.api.solversteps.ActionSet.ActionSet.

Definition at line 272 of file EnumerateDoFs.py.

◆ get_body_of_operation()

api.actionsets.EnumerateDoFs.EnumerateDoFs.get_body_of_operation (   self,
  operation_name 
)

Provide C++ code snippet for peano4.api.solversteps.ActionSet.OPERATION_TOUCH_VERTEX_FIRST_TIME

Only touchVertexFirstTime is an event where this action set actually does something: It inserts the template TemplateInitVertex and replaces it with entries from the dictionary. The latter is befilled in init().

Reimplemented from peano4.api.solversteps.ActionSet.ActionSet.

Definition at line 219 of file EnumerateDoFs.py.

References solvers.aderdg.kernels.AMRRoutines.AMRRoutines.d, solvers.aderdg.kernels.CellData.CellData.d, solvers.aderdg.kernels.DGMatrices.DGMatrices.d, solvers.aderdg.kernels.FusedSpaceTimePredictorVolumeIntegral.FusedSpaceTimePredictorVolumeIntegral.d, solvers.aderdg.kernels.Quadrature.Quadrature.d, solvers.fv.actionsets.HandleBoundary.HandleBoundary.d, solvers.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, solvers.limiting.kernels.Limiter.Limiter.d, solvers.limiting.kernels.Quadrature.Quadrature.d, tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.d, tracer.InsertParticlesFromFile.InsertParticlesFromFile.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, 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, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.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, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, 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, 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, peano4.api.output.Observer.Observer.d, peano4.api.output.TemplatedHeaderFile.TemplatedHeaderFile.d, peano4.api.output.TemplatedHeaderImplementationFilePair.TemplatedHeaderImplementationFilePair.d, peano4.api.runner.DefaultSequence.DefaultSequence.d, peano4.api.solversteps.StepsToStepRepository.StepsToStepRepository.d, peano4.api.toolbox.CreateRegularGrid.CreateRegularGrid.d, peano4.api.toolbox.multigrid.cellbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.d, peano4.api.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.d, peano4.api.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.d, peano4.api.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.d, peano4.api.toolbox.particles.api.UpdateParallelState.UpdateParallelState.d, peano4.api.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.d, peano4.api.toolbox.particles.GatherParticlesInMemoryPool.GatherParticlesInMemoryPool.d, peano4.api.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.d, peano4.api.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.d, peano4.api.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.d, peano4.api.toolbox.particles.ParticleAMR.ParticleAMR.d, peano4.api.toolbox.particles.ParticleTreeAnalysis.ParticleTreeAnalysis.d, peano4.api.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.d, peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.d, peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.d, peano4.api.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.d, peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.d, peano4.api.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.d, peano4.api.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.d, peano4.api.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.d, peano4.api.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, api.BackupPatchOverlap.BackupPatchOverlap.d, api.DynamicAMR.DynamicAMR.d, api.InterpolateAndRestrictCells.InterpolateAndRestrictCells.d, api.InterpolateHangingFaces.InterpolateHangingFaces.d, api.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.d, api.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.d, api.ProjectPatchOntoFaces.ProjectPatchOntoFaces.d, api.RestrictHangingFaces.RestrictHangingFaces.d, DGCGCoupling.Test4Coupling.d, DGCGCoupling.Test5Coupling.d, DGCGCoupling.Test7Coupling.d, initCollocatedRandom.InitDofsCollocatedRandomRhs.d, initCollocatedRandom.InitCollocatedTest4.d, initCollocatedRandom.InitCollocatedTest5.d, InitDG.InitDofsDGTest1.d, InitDG.InitDofsIntermediatePhaseTest1.d, InitDG.InitDofsDGTest7.d, test8.InitDofsTest8.d, api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEndTraversal, peano4.api.output.Observer.Observer.TemplateEndTraversal, api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEnumerateCell, api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEnumerateFace, and api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEnumerateVertex.

Referenced by peano4.api.solversteps.ActionSet.ActionSet.get_implementation_of_operation().

Here is the caller graph for this function:

◆ get_constructor_body()

api.actionsets.EnumerateDoFs.EnumerateDoFs.get_constructor_body (   self)

Define body of constructor.

Consult the superclass' description of the function for results. I basically initialise the _localMap with the correct tree number.

See also
get_attributes()

Reimplemented from peano4.api.solversteps.ActionSet.ActionSet.

Definition at line 290 of file EnumerateDoFs.py.

◆ get_includes()

api.actionsets.EnumerateDoFs.EnumerateDoFs.get_includes (   self)

Consult multigrid.petsc.Project for details.

Reimplemented from peano4.api.solversteps.ActionSet.ActionSet.

Definition at line 308 of file EnumerateDoFs.py.

◆ user_should_modify_template()

api.actionsets.EnumerateDoFs.EnumerateDoFs.user_should_modify_template (   self)

The action set that Peano will generate that corresponds to this class should not be modified by users and can safely be overwritten every time we run the Python toolkit.

Reimplemented from peano4.api.solversteps.ActionSet.ActionSet.

Definition at line 261 of file EnumerateDoFs.py.

Field Documentation

◆ d

api.actionsets.EnumerateDoFs.EnumerateDoFs.d

Definition at line 209 of file EnumerateDoFs.py.

Referenced by peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.__build_up_dictionary_for_one_data_set(), peano4.api.output.Observer.Observer.__format_template_per_action(), peano4.api.output.Observer.Observer.__generate_beginTraversal(), peano4.api.output.Observer.Observer.__generate_constructor(), peano4.api.output.Observer.Observer.__generate_endTraversal(), peano4.api.output.Observer.Observer.__generate_exchange_routines(), peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.__generate_file(), peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.__generate_file(), peano4.api.output.Observer.Observer.__generate_prepareTraversal(), peano4.api.output.Observer.Observer.__generate_unprepareTraversal(), solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.__init__(), solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.__init__(), solvers.fv.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.__init__(), solvers.fv.actionsets.DynamicAMR.DynamicAMR.__init__(), peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.__parse_data_declarations_in_model(), peano4.api.output.Observer.Observer.__render_template_for_action(), solvers.limiting.kernels.Limiter.Limiter._build_gemms(), solvers.aderdg.kernels.AMRRoutines.AMRRoutines._build_gemms(), solvers.aderdg.kernels.FusedSpaceTimePredictorVolumeIntegral.FusedSpaceTimePredictorVolumeIntegral._build_gemms(), peano4.api.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.add_attribute_to_plot(), peano4.api.output.Makefile.Makefile.add_CXX_flag(), peano4.api.output.Makefile.Makefile.add_Fortran_flag(), peano4.api.output.Makefile.Makefile.add_Fortran_module(), peano4.api.output.Makefile.Makefile.add_header_search_path(), peano4.api.output.Constants.Constants.add_include(), peano4.api.output.Makefile.Makefile.add_library(), peano4.api.output.Makefile.Makefile.add_linker_flag(), peano4.api.output.Constants.Constants.clear(), peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.construct_output(), peano4.api.solversteps.StepsToStepRepository.StepsToStepRepository.construct_output(), peano4.api.runner.DefaultSequence.DefaultSequence.construct_output(), peano4.api.output.Constants.Constants.define(), peano4.api.output.Constants.Constants.define_value(), peano4.api.output.Makefile.Makefile.executable_name(), peano4.api.output.Constants.Constants.export(), peano4.api.output.Constants.Constants.export_boolean(), peano4.api.output.Constants.Constants.export_boolean_sequence(), peano4.api.output.Constants.Constants.export_const_with_type(), peano4.api.output.Constants.Constants.export_constexpr_with_type(), peano4.api.output.Makefile.Makefile.generate(), 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(), peano4.api.output.Observer.Observer.generateDictEntry(), archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.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(), api.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_attributes(), peano4.api.toolbox.CreateRegularGrid.CreateRegularGrid.get_body_of_createGridControlEventsForNextTraversal(), solvers.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.get_body_of_operation(), tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_body_of_operation(), tracer.InsertParticlesFromFile.InsertParticlesFromFile.get_body_of_operation(), exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.get_body_of_operation(), exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.get_body_of_operation(), exahype2.api.fv.actionsets.RollOverUpdatedFaceWithSommerfeldBoundaryConditions.RollOverUpdatedFaceWithSommerfeldBoundaryConditions.get_body_of_operation(), exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.get_body_of_operation(), exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.get_body_of_operation(), exahype2.api.rkfd4.actionsets.RollOverUpdatedFaceWithSommerfeldBoundaryConditions.RollOverUpdatedFaceWithSommerfeldBoundaryConditions.get_body_of_operation(), exaparty.api.actionsets.Cleanup.Cleanup.get_body_of_operation(), exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.get_body_of_operation(), exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.get_body_of_operation(), exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.get_body_of_operation(), exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.get_body_of_operation(), exaparty.api.boundaryconditions.Fixed.Fixed.get_body_of_operation(), solvers.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.get_body_of_operation(), solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.get_body_of_operation(), solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.get_body_of_operation(), solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.get_body_of_operation(), solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.get_body_of_operation(), solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.get_body_of_operation(), solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.get_body_of_operation(), solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.get_body_of_operation(), solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.get_body_of_operation(), ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.get_body_of_operation(), UpdateCell.UpdateCell.get_body_of_operation(), UpdateFacets.UpdateFacets.get_body_of_operation(), solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.get_body_of_operation(), solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.get_body_of_operation(), solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.get_body_of_operation(), solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.get_body_of_operation(), solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.get_body_of_operation(), solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.get_body_of_operation(), solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.get_body_of_operation(), solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.get_body_of_operation(), solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.get_body_of_operation(), solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.get_body_of_operation(), solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.get_body_of_operation(), archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.get_body_of_operation(), api.actionsets.EnumerateDoFs.EnumerateDoFs.get_body_of_operation(), api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.get_body_of_operation(), api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.get_body_of_operation(), api.actionsets.InitCellDoFs.InitCellDoFs.get_body_of_operation(), api.actionsets.InitFaceDoFs.InitFaceDoFs.get_body_of_operation(), api.actionsets.InitPetsc.SendDofsToVertices.get_body_of_operation(), api.actionsets.InitVertexDoFs.InitVertexDoFs.get_body_of_operation(), api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.get_body_of_operation(), api.actionsets.PlotExactSolution.PlotExactSolution.get_body_of_operation(), api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.get_body_of_operation(), api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.get_body_of_operation(), api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.get_body_of_operation(), api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.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(), 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(), initCollocatedRandom.InitDofsCollocatedRandomRhs.get_body_of_operation(), InitDG.InitDofsDGTest1.get_body_of_operation(), test8.InitDofsTest8.get_body_of_operation(), exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.get_body_of_prepareTraversal(), 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(), peano4.api.output.Makefile.Makefile.get_configure_path(), tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_constructor_body(), solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.get_constructor_body(), solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.get_constructor_body(), solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.get_constructor_body(), api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.get_constructor_body(), api.actionsets.PlotExactSolution.PlotExactSolution.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(), api.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_constructor_body(), api.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.get_constructor_body(), peano4.api.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.get_destructor_body(), exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.get_guard_of_operation(), exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.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(), 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(), tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_includes(), tracer.InsertParticlesFromFile.InsertParticlesFromFile.get_includes(), exaparty.api.actionsets.Cleanup.Cleanup.get_includes(), exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.get_includes(), exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.get_includes(), exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.get_includes(), exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.get_includes(), exaparty.api.boundaryconditions.Fixed.Fixed.get_includes(), 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(), api.DynamicAMR.DynamicAMR.get_interpolate_guard(), api.DynamicAMR.DynamicAMR.get_restrict_guard(), api.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), api.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), peano4.api.output.Observer.Observer.mkSubDict(), peano4.api.output.Makefile.Makefile.parse_configure_script_outcome(), peano4.api.output.Constants.Constants.readme_entry(), peano4.api.output.Makefile.Makefile.readme_entry(), peano4.api.output.Makefile.Makefile.readme_package_descriptor(), peano4.api.output.Makefile.Makefile.set_CXX_compiler(), peano4.api.output.Makefile.Makefile.set_CXX_flags(), peano4.api.output.Makefile.Makefile.set_dimension(), peano4.api.output.Makefile.Makefile.set_executable_name(), peano4.api.output.Makefile.Makefile.set_Fortran_compiler(), peano4.api.output.Makefile.Makefile.set_Fortran_flags(), api.BackupPatchOverlap.BackupPatchOverlap.set_guard_predicate(), peano4.api.output.Makefile.Makefile.set_linker_flags(), peano4.api.output.Makefile.Makefile.set_mode(), api.DynamicAMR.DynamicAMR.switch_interpolation_scheme(), and api.DynamicAMR.DynamicAMR.switch_restriction_scheme().

◆ TemplateEndTraversal

str api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEndTraversal
static
Initial value:
= """
logInfo(
"endTraversal()",
"vertex dofs=" << _localVertexMap.getTotalNumberOfIndices() <<
", face dofs=" << _localFaceMap.getTotalNumberOfIndices() <<
", cell dofs=" << _localCellMap.getTotalNumberOfIndices()
);
repositories::{{SOLVER_INSTANCE}}.getLocalToGlobalMap().merge( _localVertexMap, ::petsc::LocalToGlobalMap::Type::Vertex );
repositories::{{SOLVER_INSTANCE}}.getLocalToGlobalMap().merge( _localFaceMap, ::petsc::LocalToGlobalMap::Type::Face );
repositories::{{SOLVER_INSTANCE}}.getLocalToGlobalMap().merge( _localCellMap, ::petsc::LocalToGlobalMap::Type::Cell );
"""

Definition at line 177 of file EnumerateDoFs.py.

Referenced by api.actionsets.EnumerateDoFs.EnumerateDoFs.get_body_of_operation().

◆ TemplateEnumerateCell

str api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEnumerateCell
static

◆ TemplateEnumerateFace

str api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEnumerateFace
static

◆ TemplateEnumerateVertex

str api.actionsets.EnumerateDoFs.EnumerateDoFs.TemplateEnumerateVertex
static

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