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

For development purposes, we add a way to print the exact solution from the cells to a file. More...

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

Public Member Functions

 __init__ (self, solver)
 Initialise vertex-associated degrees of freedom.
 
 get_body_of_operation (self, operation_name)
 Provide C++ code snippet for peano4.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_includes (self)
 Add some additional includes.
 
 get_attributes (self)
 Return attributes as copied and pasted into the generated class.
 
 get_constructor_body (self)
 Define a tailored constructor body.
 
- Public Member Functions inherited from peano4.solversteps.ActionSet.ActionSet
 get_static_initialisations (self, full_qualified_classname)
 
 get_destructor_body (self)
 
 get_body_of_getGridControlEvents (self)
 
 get_body_of_prepareTraversal (self)
 
 get_body_of_unprepareTraversal (self)
 

Data Fields

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

Static Public Attributes

str templateTouchCellFirstTime
 
str templateEndTraversal
 
- Static Public Attributes inherited from peano4.solversteps.ActionSet.ActionSet
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

For development purposes, we add a way to print the exact solution from the cells to a file.

We do this lazily, without concerning ourselves with what indices are available to us over mpi ranks.

We store everything in a std::vector, and print it out to file when we are done

Definition at line 9 of file PlotExactSolution.py.

Constructor & Destructor Documentation

◆ __init__()

api.actionsets.PlotExactSolution.PlotExactSolution.__init__ ( self,
solver )

Initialise vertex-associated degrees of freedom.

The initialisation requires a solver object, as we have to know what C++ object this solver will produce.

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

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 44 of file PlotExactSolution.py.

References api.actionsets.PlotExactSolution.PlotExactSolution.__init__().

Referenced by api.actionsets.PlotExactSolution.PlotExactSolution.__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.PlotExactSolution.PlotExactSolution.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.solversteps.ActionSet.ActionSet.

Definition at line 84 of file PlotExactSolution.py.

◆ get_attributes()

api.actionsets.PlotExactSolution.PlotExactSolution.get_attributes ( self)

Return attributes as copied and pasted into the generated class.

Please note that action sets are not persistent, i.e. there is one object creation per grid sweep per tree.

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 125 of file PlotExactSolution.py.

◆ get_body_of_operation()

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

Provide C++ code snippet for peano4.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.solversteps.ActionSet.ActionSet.

Definition at line 62 of file PlotExactSolution.py.

References exahype2.solvers.aderdg.kernels.AMRRoutines.AMRRoutines.d, exahype2.solvers.aderdg.kernels.CellData.CellData.d, exahype2.solvers.aderdg.kernels.DGMatrices.DGMatrices.d, exahype2.solvers.aderdg.kernels.FusedSpaceTimePredictorVolumeIntegral.FusedSpaceTimePredictorVolumeIntegral.d, exahype2.solvers.aderdg.kernels.Quadrature.Quadrature.d, exahype2.solvers.fv.actionsets.HandleBoundary.HandleBoundary.d, exahype2.solvers.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.solvers.limiting.kernels.Limiter.Limiter.d, exahype2.solvers.limiting.kernels.Quadrature.Quadrature.d, exahype2.solvers.rkfd.actionsets.HandleBoundary.HandleBoundary.d, exahype2.solvers.rkfd.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.d, exahype2.tracer.InsertParticlesFromFile.InsertParticlesFromFile.d, peano4.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.output.Constants.Constants.d, peano4.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.output.Makefile.Makefile.d, peano4.output.Observer.Observer.d, peano4.output.TemplatedHeaderFile.TemplatedHeaderFile.d, peano4.output.TemplatedHeaderImplementationFilePair.TemplatedHeaderImplementationFilePair.d, peano4.runner.DefaultSequence.DefaultSequence.d, peano4.solversteps.StepsToStepRepository.StepsToStepRepository.d, peano4.toolbox.blockstructured.BackupPatchOverlap.BackupPatchOverlap.d, peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.d, peano4.toolbox.blockstructured.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.d, peano4.toolbox.blockstructured.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.d, peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.d, peano4.toolbox.CreateRegularGrid.CreateRegularGrid.d, peano4.toolbox.multigrid.cellbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.d, peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.d, peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.d, peano4.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.d, peano4.toolbox.particles.api.UpdateParallelState.UpdateParallelState.d, peano4.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.d, peano4.toolbox.particles.GatherParticlesInMemoryPool.GatherParticlesInMemoryPool.d, peano4.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.d, peano4.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.d, peano4.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.d, peano4.toolbox.particles.ParticleAMR.ParticleAMR.d, peano4.toolbox.particles.ParticleTreeAnalysis.ParticleTreeAnalysis.d, peano4.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.d, peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.d, peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.d, peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.d, peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.d, peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.d, peano4.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.d, peano4.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.d, peano4.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, swift2.actionsets.Cleanup.Cleanup.d, swift2.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, swift2.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, swift2.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, swift2.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, swift2.api.boundaryconditions.Fixed.Fixed.d, swift2.input.InsertParticlesFromHDF5File.InsertParticlesFromHDF5File.d, exahypype.kernel.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, 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, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.templateEndTraversal, api.actionsets.PlotExactSolution.PlotExactSolution.templateEndTraversal, DGCGCoupling.Test4Coupling.templateEndTraversal, DGCGCoupling.Test5Coupling.templateEndTraversal, DGCGCoupling.Test7Coupling.templateEndTraversal, InitDG.InitDofsIntermediatePhaseTest1.templateEndTraversal, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.templateTouchCellFirstTime, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.templateTouchCellFirstTime, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.templateTouchCellFirstTime, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.templateTouchCellFirstTime, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.templateTouchCellFirstTime, UpdateCell.UpdateCell.templateTouchCellFirstTime, UpdateFacets.UpdateFacets.templateTouchCellFirstTime, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.templateTouchCellFirstTime, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.templateTouchCellFirstTime, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.templateTouchCellFirstTime, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.templateTouchCellFirstTime, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.templateTouchCellFirstTime, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.templateTouchCellFirstTime, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.templateTouchCellFirstTime, api.actionsets.InitPetsc.SendDofsToVertices.templateTouchCellFirstTime, api.actionsets.PlotExactSolution.PlotExactSolution.templateTouchCellFirstTime, DGCGCoupling.Test4Coupling.templateTouchCellFirstTime, DGCGCoupling.Test5Coupling.templateTouchCellFirstTime, DGCGCoupling.Test7Coupling.templateTouchCellFirstTime, initCollocatedRandom.InitDofsCollocatedRandomRhs.templateTouchCellFirstTime, initCollocatedRandom.InitCollocatedTest4.templateTouchCellFirstTime, initCollocatedRandom.InitCollocatedTest5.templateTouchCellFirstTime, initCollocatedRandom.InitCollocatedTest7.templateTouchCellFirstTime, InitDG.InitDofsDGTest1.templateTouchCellFirstTime, InitDG.InitDofsIntermediatePhaseTest1.templateTouchCellFirstTime, InitDG.InitDofsDGTest6.templateTouchCellFirstTime, InitDG.InitDofsIntermediatePhaseTest6.templateTouchCellFirstTime, InitDG.InitDofsDGTest4.templateTouchCellFirstTime, InitDG.InitDofsDGTest5.templateTouchCellFirstTime, InitDG.InitDofsDGTest7.templateTouchCellFirstTime, and test8.InitDofsTest8.templateTouchCellFirstTime.

◆ get_constructor_body()

api.actionsets.PlotExactSolution.PlotExactSolution.get_constructor_body ( self)

Define a tailored constructor body.

By default, the constructor of an action set is empty. If you you assign attributes to your action set, you however might want to initialise them here. We do not support initialisation lists, to all has to be done via setters unless you create attributes on the heap.

The constructor's signature will look similar to

   EnumerateAndInitSolution2petsc_actionsets_InitVertexDoFs0(int treeNumber);

where the treeNumber is -1 if this is the global instance of the action set owned by a rank, or a number greater or equal 0 if this action set is a clone of the glocal action set that's used by one tree traversal.

See also
get_attributes() to add attributes to your action set

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 139 of file PlotExactSolution.py.

References exahype2.solvers.aderdg.kernels.AMRRoutines.AMRRoutines.d, exahype2.solvers.aderdg.kernels.CellData.CellData.d, exahype2.solvers.aderdg.kernels.DGMatrices.DGMatrices.d, exahype2.solvers.aderdg.kernels.FusedSpaceTimePredictorVolumeIntegral.FusedSpaceTimePredictorVolumeIntegral.d, exahype2.solvers.aderdg.kernels.Quadrature.Quadrature.d, exahype2.solvers.fv.actionsets.HandleBoundary.HandleBoundary.d, exahype2.solvers.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.solvers.limiting.kernels.Limiter.Limiter.d, exahype2.solvers.limiting.kernels.Quadrature.Quadrature.d, exahype2.solvers.rkfd.actionsets.HandleBoundary.HandleBoundary.d, exahype2.solvers.rkfd.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.d, exahype2.tracer.InsertParticlesFromFile.InsertParticlesFromFile.d, peano4.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.output.Constants.Constants.d, peano4.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.output.Makefile.Makefile.d, peano4.output.Observer.Observer.d, peano4.output.TemplatedHeaderFile.TemplatedHeaderFile.d, peano4.output.TemplatedHeaderImplementationFilePair.TemplatedHeaderImplementationFilePair.d, peano4.runner.DefaultSequence.DefaultSequence.d, peano4.solversteps.StepsToStepRepository.StepsToStepRepository.d, peano4.toolbox.blockstructured.BackupPatchOverlap.BackupPatchOverlap.d, peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.d, peano4.toolbox.blockstructured.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.d, peano4.toolbox.blockstructured.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.d, peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.d, peano4.toolbox.CreateRegularGrid.CreateRegularGrid.d, peano4.toolbox.multigrid.cellbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.d, peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.d, peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.d, peano4.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.d, peano4.toolbox.particles.api.UpdateParallelState.UpdateParallelState.d, peano4.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.d, peano4.toolbox.particles.GatherParticlesInMemoryPool.GatherParticlesInMemoryPool.d, peano4.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.d, peano4.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.d, peano4.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.d, peano4.toolbox.particles.ParticleAMR.ParticleAMR.d, peano4.toolbox.particles.ParticleTreeAnalysis.ParticleTreeAnalysis.d, peano4.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.d, peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.d, peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.d, peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.d, peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.d, peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.d, peano4.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.d, peano4.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.d, peano4.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, swift2.actionsets.Cleanup.Cleanup.d, swift2.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, swift2.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, swift2.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, swift2.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, swift2.api.boundaryconditions.Fixed.Fixed.d, swift2.input.InsertParticlesFromHDF5File.InsertParticlesFromHDF5File.d, exahypype.kernel.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, 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, and test8.InitDofsTest8.d.

◆ get_includes()

api.actionsets.PlotExactSolution.PlotExactSolution.get_includes ( self)

Add some additional includes.

We need the solver repository here as we access hte solver object, and we also need access to all of Peano's d-dimensional for loops.

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 110 of file PlotExactSolution.py.

◆ user_should_modify_template()

api.actionsets.PlotExactSolution.PlotExactSolution.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.solversteps.ActionSet.ActionSet.

Definition at line 99 of file PlotExactSolution.py.

Field Documentation

◆ d

api.actionsets.PlotExactSolution.PlotExactSolution.d

Definition at line 58 of file PlotExactSolution.py.

Referenced by peano4.datamodel.ModelToDataRepository.ModelToDataRepository.__build_up_dictionary_for_one_data_set(), peano4.output.Observer.Observer.__format_template_per_action(), peano4.output.Observer.Observer.__generate_beginTraversal(), peano4.output.Observer.Observer.__generate_constructor(), peano4.output.Observer.Observer.__generate_endTraversal(), peano4.output.Observer.Observer.__generate_exchange_routines(), peano4.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.__generate_file(), peano4.output.Observer.Observer.__generate_prepareTraversal(), peano4.output.Observer.Observer.__generate_unprepareTraversal(), solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.__init__(), solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.__init__(), exahype2.solvers.fv.actionsets.ProjectPatchOntoFaces.ProjectPatchOntoFaces.__init__(), exahype2.solvers.fv.actionsets.DynamicAMR.DynamicAMR.__init__(), exahype2.solvers.rkfd.actionsets.DynamicAMR.DynamicAMR.__init__(), peano4.datamodel.ModelToDataRepository.ModelToDataRepository.__parse_data_declarations_in_model(), exahype2.solvers.limiting.kernels.Limiter.Limiter._build_gemms(), exahype2.solvers.aderdg.kernels.AMRRoutines.AMRRoutines._build_gemms(), exahype2.solvers.aderdg.kernels.FusedSpaceTimePredictorVolumeIntegral.FusedSpaceTimePredictorVolumeIntegral._build_gemms(), peano4.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.add_attribute_to_plot(), peano4.output.Makefile.Makefile.add_CXX_flag(), peano4.output.Makefile.Makefile.add_Fortran_flag(), peano4.output.Makefile.Makefile.add_Fortran_module(), peano4.output.Makefile.Makefile.add_header_search_path(), peano4.output.Constants.Constants.add_include(), peano4.output.Makefile.Makefile.add_library(), peano4.output.Makefile.Makefile.add_linker_flag(), peano4.output.Constants.Constants.clear(), peano4.datamodel.ModelToDataRepository.ModelToDataRepository.construct_output(), peano4.solversteps.StepsToStepRepository.StepsToStepRepository.construct_output(), peano4.runner.DefaultSequence.DefaultSequence.construct_output(), peano4.output.Constants.Constants.define(), peano4.output.Constants.Constants.define_value(), exahypype.kernel.Evaluate(), peano4.output.Makefile.Makefile.executable_name(), peano4.output.Constants.Constants.export(), peano4.output.Constants.Constants.export_boolean(), peano4.output.Constants.Constants.export_boolean_sequence(), peano4.output.Constants.Constants.export_const_with_type(), peano4.output.Constants.Constants.export_constexpr_with_type(), peano4.output.Makefile.Makefile.generate(), exahype2.solvers.aderdg.kernels.AMRRoutines.AMRRoutines.generate_kernels(), exahype2.solvers.aderdg.kernels.CellData.CellData.generate_kernels(), exahype2.solvers.aderdg.kernels.DGMatrices.DGMatrices.generate_kernels(), exahype2.solvers.aderdg.kernels.FusedSpaceTimePredictorVolumeIntegral.FusedSpaceTimePredictorVolumeIntegral.generate_kernels(), exahype2.solvers.aderdg.kernels.Quadrature.Quadrature.generate_kernels(), exahype2.solvers.limiting.kernels.Limiter.Limiter.generate_kernels(), exahype2.solvers.limiting.kernels.Quadrature.Quadrature.generate_kernels(), peano4.output.Observer.Observer.generateDictEntry(), peano4.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_attributes(), peano4.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.get_attributes(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_attributes(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_attributes(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_attributes(), archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.get_attributes(), peano4.toolbox.CreateRegularGrid.CreateRegularGrid.get_body_of_getGridControlEvents(), exahype2.solvers.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.get_body_of_operation(), exahype2.tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_body_of_operation(), exahype2.tracer.InsertParticlesFromFile.InsertParticlesFromFile.get_body_of_operation(), peano4.toolbox.blockstructured.BackupPatchOverlap.BackupPatchOverlap.get_body_of_operation(), peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.get_body_of_operation(), peano4.toolbox.blockstructured.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_body_of_operation(), peano4.toolbox.blockstructured.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.get_body_of_operation(), peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.get_body_of_operation(), peano4.toolbox.multigrid.cellbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_body_of_operation(), peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_body_of_operation(), peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_body_of_operation(), peano4.toolbox.particles.api.UpdateParallelState.UpdateParallelState.get_body_of_operation(), peano4.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.get_body_of_operation(), peano4.toolbox.particles.api.UpdateParticleGridAssociation_LiftDrop.UpdateParticleGridAssociation_LiftDrop.get_body_of_operation(), peano4.toolbox.particles.api.UpdateParticleGridAssociation_Reassign.UpdateParticleGridAssociation_Reassign.get_body_of_operation(), peano4.toolbox.particles.GatherParticlesInMemoryPool.GatherParticlesInMemoryPool.get_body_of_operation(), peano4.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.get_body_of_operation(), peano4.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.get_body_of_operation(), peano4.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.get_body_of_operation(), peano4.toolbox.particles.ParticleAMR.ParticleAMR.get_body_of_operation(), peano4.toolbox.particles.ParticleTreeAnalysis.ParticleTreeAnalysis.get_body_of_operation(), peano4.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.get_body_of_operation(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_body_of_operation(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_body_of_operation(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_body_of_operation(), peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.get_body_of_operation(), peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.get_body_of_operation(), peano4.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.get_body_of_operation(), peano4.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.get_body_of_operation(), peano4.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.get_body_of_operation(), swift2.actionsets.Cleanup.Cleanup.get_body_of_operation(), swift2.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.get_body_of_operation(), swift2.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.get_body_of_operation(), swift2.actionsets.UpdateParticleMarker.UpdateParticleMarker.get_body_of_operation(), swift2.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.get_body_of_operation(), swift2.api.boundaryconditions.Fixed.Fixed.get_body_of_operation(), swift2.input.InsertParticlesFromHDF5File.InsertParticlesFromHDF5File.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(), initCollocatedRandom.InitDofsCollocatedRandomRhs.get_body_of_operation(), InitDG.InitDofsDGTest1.get_body_of_operation(), test8.InitDofsTest8.get_body_of_operation(), peano4.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_body_of_prepareTraversal(), peano4.toolbox.particles.api.UpdateParallelState.UpdateParallelState.get_body_of_prepareTraversal(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_body_of_prepareTraversal(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_body_of_prepareTraversal(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_body_of_prepareTraversal(), peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.get_body_of_prepareTraversal(), peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.get_body_of_prepareTraversal(), swift2.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.get_body_of_prepareTraversal(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_body_of_unprepareTraversal(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_body_of_unprepareTraversal(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_body_of_unprepareTraversal(), peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.get_body_of_unprepareTraversal(), peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.get_body_of_unprepareTraversal(), peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.get_clear_guard(), peano4.output.Makefile.Makefile.get_configure_path(), exahype2.tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_constructor_body(), peano4.toolbox.blockstructured.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_constructor_body(), peano4.toolbox.blockstructured.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.get_constructor_body(), peano4.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_constructor_body(), peano4.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.get_constructor_body(), peano4.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.get_constructor_body(), peano4.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.get_constructor_body(), peano4.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.get_constructor_body(), peano4.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.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.toolbox.particles.api.UpdateParticleGridAssociation_BucketSort.UpdateParticleGridAssociation_BucketSort.get_destructor_body(), exahype2.tracer.DumpTracerIntoDatabase.DumpTracerIntoDatabase.get_includes(), exahype2.tracer.InsertParticlesFromFile.InsertParticlesFromFile.get_includes(), peano4.toolbox.particles.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_includes(), peano4.toolbox.particles.api.UpdateParallelState.UpdateParallelState.get_includes(), peano4.toolbox.particles.GatherParticlesInMemoryPool.GatherParticlesInMemoryPool.get_includes(), peano4.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.get_includes(), peano4.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.get_includes(), peano4.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.get_includes(), peano4.toolbox.particles.ParticleAMR.ParticleAMR.get_includes(), peano4.toolbox.particles.ParticleTreeAnalysis.ParticleTreeAnalysis.get_includes(), peano4.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.get_includes(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_Sets.UpdateParticle_MultiLevelInteraction_Sets.get_includes(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists.UpdateParticle_MultiLevelInteraction_StackOfLists.get_includes(), peano4.toolbox.particles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.UpdateParticle_MultiLevelInteraction_StackOfLists_ContiguousParticles.get_includes(), peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction.UpdateParticle_SingleLevelInteraction.get_includes(), peano4.toolbox.particles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.UpdateParticle_SingleLevelInteraction_ContiguousParticles.get_includes(), swift2.actionsets.Cleanup.Cleanup.get_includes(), swift2.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.get_includes(), swift2.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.get_includes(), swift2.actionsets.UpdateParticleMarker.UpdateParticleMarker.get_includes(), swift2.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.get_includes(), swift2.api.boundaryconditions.Fixed.Fixed.get_includes(), swift2.input.InsertParticlesFromHDF5File.InsertParticlesFromHDF5File.get_includes(), peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.get_interpolate_guard(), peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.get_restrict_guard(), peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.guard(), exahypype.kernel.halo(), peano4.output.Observer.Observer.mkSubDict(), peano4.output.Makefile.Makefile.parse_configure_script_outcome(), peano4.output.Constants.Constants.readme_entry(), peano4.output.Makefile.Makefile.readme_entry(), peano4.output.Makefile.Makefile.readme_package_descriptor(), peano4.output.Makefile.Makefile.set_CXX_compiler(), peano4.output.Makefile.Makefile.set_CXX_flags(), peano4.output.Makefile.Makefile.set_dimension(), peano4.output.Makefile.Makefile.set_executable_name(), peano4.output.Makefile.Makefile.set_Fortran_compiler(), peano4.output.Makefile.Makefile.set_Fortran_flags(), peano4.toolbox.blockstructured.BackupPatchOverlap.BackupPatchOverlap.set_guard_predicate(), peano4.output.Makefile.Makefile.set_linker_flags(), peano4.output.Makefile.Makefile.set_mode(), exahypype.kernel.Stencil(), peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.switch_interpolation_scheme(), and peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.switch_restriction_scheme().

◆ templateEndTraversal

str api.actionsets.PlotExactSolution.PlotExactSolution.templateEndTraversal
static
Initial value:
= """
std::ofstream outfile("./exactSol.txt");
for (const auto& s:exactSolutionAtEachCellDof) outfile << s << "\\n";
outfile.close();
"""

Definition at line 37 of file PlotExactSolution.py.

Referenced by solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.get_body_of_operation(), and api.actionsets.PlotExactSolution.PlotExactSolution.get_body_of_operation().

◆ templateTouchCellFirstTime

str api.actionsets.PlotExactSolution.PlotExactSolution.templateTouchCellFirstTime
static
Initial value:
= """
if ( fineGridCell{{SOLVER_NAME}}PETScData.getType() == celldata::{{SOLVER_NAME}}PETScData::Type::Interior )
{
std::pair<int,int> localCellIndex = std::make_pair(_spacetreeId, fineGridCell{{SOLVER_NAME}}PETScData.getUnknownBaseNumber());
int globalCellIndex = repositories::{{SOLVER_INSTANCE}}.getLocalToGlobalMap().getGlobalIndex(localCellIndex, ::petsc::LocalToGlobalMap::Type::Cell);
// fill the vector
for (int i=0; i<repositories::{{SOLVER_INSTANCE}}.DoFsPerCell; i++)
{
// we will want this to be get exactSol
exactSolutionAtEachCellDof[globalCellIndex+i] = fineGridCell{{SOLVER_NAME}}.getExactSol(i);
}
}
"""

Definition at line 22 of file PlotExactSolution.py.

Referenced by solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.get_body_of_operation(), solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.get_body_of_operation(), solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.get_body_of_operation(), solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.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.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(), api.actionsets.InitPetsc.SendDofsToVertices.get_body_of_operation(), api.actionsets.PlotExactSolution.PlotExactSolution.get_body_of_operation(), initCollocatedRandom.InitDofsCollocatedRandomRhs.get_body_of_operation(), InitDG.InitDofsDGTest1.get_body_of_operation(), and test8.InitDofsTest8.get_body_of_operation().


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