Peano
Loading...
Searching...
No Matches
peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi Class Reference
Inheritance diagram for peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi:
Collaboration diagram for peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi:

Public Member Functions

 __init__ (self, vertex_data, relaxation_coefficient, rhs_expr, unknown_setter="setU", unknown_getter="getU", residual_setter="setResidual", residual_getter="getResidual", store_residual_persistently_and_update_in_touch_first=True)
 :Attibutes:
 
 get_body_of_getGridControlEvents (self)
 
 get_action_set_name (self)
 Return unique action set name.
 
 user_should_modify_template (self)
 Is the user allowed to modify the output.
 
 get_body_of_operation (self, operation_name)
 Return actual C++ code snippets to be inserted into C++ code.
 
 get_attributes (self)
 Return attributes as copied and pasted into the generated class.
 
 get_includes (self)
 Return include statements that you need.
 
- Public Member Functions inherited from peano4.solversteps.ActionSet.ActionSet
 get_constructor_body (self)
 Define a tailored constructor body.
 
 get_static_initialisations (self, full_qualified_classname)
 
 get_destructor_body (self)
 
 get_body_of_prepareTraversal (self)
 
 get_body_of_unprepareTraversal (self)
 

Data Fields

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

Static Public Attributes

str Template_ResetResidual
 
str Template_CreateHangingVertex
 
str Template_TouchCellFirstTime
 
str Template_UpdateValue
 
str Template_CreatePersistentVertex
 
- 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"
 

Protected Attributes

 _store_residual_persistently_and_update_in_touch_first
 

Static Private Attributes

 __Template_Constructor = jinja2.Template()
 

Detailed Description

Definition at line 9 of file MatrixFreeJacobi.py.

Constructor & Destructor Documentation

◆ __init__()

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.__init__ ( self,
vertex_data,
relaxation_coefficient,
rhs_expr,
unknown_setter = "setU",
unknown_getter = "getU",
residual_setter = "setResidual",
residual_getter = "getResidual",
store_residual_persistently_and_update_in_touch_first = True )

:Attibutes:

vertex_data: DaStGen object This object must have at least two attributes: A double value u and a double value residual.

kappa_expr: C++ code (string) Material parameter. Pass in 1.0 if there's no jump anywhere.

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 13 of file MatrixFreeJacobi.py.

Member Function Documentation

◆ get_action_set_name()

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_action_set_name ( self)

Return unique action set name.

Returns a description (word) for the mapping which is also used as class name for the generated type. As a consequence, the result should be one word (if possible) and uppercase. Also, every subclass should overwrite this routine.

The generator will take the result and construct eventually classes similar to MyStep2Dummy.h and MyStep2Dummy.cpp or similar for the example below, where we return Dummy.

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 52 of file MatrixFreeJacobi.py.

◆ get_attributes()

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.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 181 of file MatrixFreeJacobi.py.

◆ get_body_of_getGridControlEvents()

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_body_of_getGridControlEvents ( self)

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 48 of file MatrixFreeJacobi.py.

◆ get_body_of_operation()

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_body_of_operation ( self,
operation_name )

Return actual C++ code snippets to be inserted into C++ code.

See class' string constants starting with OPERATION_ for possible values of operation_name.

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 133 of file MatrixFreeJacobi.py.

References peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi._store_residual_persistently_and_update_in_touch_first, peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation._store_residual_persistently_and_update_in_touch_first, 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, 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, peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_CreateHangingVertex, peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.Template_CreateHangingVertex, peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_CreatePersistentVertex, peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.Template_CreatePersistentVertex, peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_ResetResidual, peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.Template_ResetResidual, peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_TouchCellFirstTime, peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.Template_TouchCellFirstTime, peano4.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.Template_TouchCellFirstTime, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.Template_TouchCellFirstTime, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.Template_TouchCellFirstTime, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.Template_TouchCellFirstTime, peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_UpdateValue, and peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.Template_UpdateValue.

◆ get_includes()

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_includes ( self)

Return include statements that you need.

All of these includes will eventually end up in the header of the generated C++ code.

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 187 of file MatrixFreeJacobi.py.

References dastgen2.DataModel.DataModel.additional_includes, exahype2.Project.Project.additional_includes(), peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.additional_includes, peano4.toolbox.blockstructured.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.additional_includes, peano4.toolbox.blockstructured.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.additional_includes, peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.additional_includes, peano4.toolbox.multigrid.cellbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.additional_includes, peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.additional_includes, peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.additional_includes, peano4.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.additional_includes, peano4.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.additional_includes, peano4.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.additional_includes, peano4.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.additional_includes, peano4.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.additional_includes, peano4.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.additional_includes, and peano4.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.additional_includes.

Here is the call graph for this function:

◆ user_should_modify_template()

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.user_should_modify_template ( self)

Is the user allowed to modify the output.

Return whether you expect the user to modify the generated code. If this is the case, then the API places the generated output in the directory actions. Otherwise, it goes into the observer directory and will be overwritten in each and every Python run.

Reimplemented from peano4.solversteps.ActionSet.ActionSet.

Definition at line 56 of file MatrixFreeJacobi.py.

Field Documentation

◆ __Template_Constructor

◆ _store_residual_persistently_and_update_in_touch_first

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi._store_residual_persistently_and_update_in_touch_first
protected

◆ additional_includes

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.additional_includes

Definition at line 44 of file MatrixFreeJacobi.py.

Referenced by peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.get_includes(), peano4.toolbox.blockstructured.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_includes(), peano4.toolbox.blockstructured.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.get_includes(), peano4.toolbox.blockstructured.ProjectPatchOntoFaces.ProjectPatchOntoFaces.get_includes(), peano4.toolbox.multigrid.cellbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_includes(), peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_includes(), peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.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.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.get_includes(), peano4.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.get_includes(), peano4.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.get_includes(), peano4.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.get_includes(), and dastgen2.DataModel.DataModel.write_header_file().

◆ d

peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.d

Definition at line 36 of file MatrixFreeJacobi.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(), 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.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.api.AbstractUpdateParticleGridAssociation.AbstractUpdateParticleGridAssociation.get_body_of_unprepareTraversal(), 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(), 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(), peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.switch_interpolation_scheme(), and peano4.toolbox.blockstructured.DynamicAMR.DynamicAMR.switch_restriction_scheme().

◆ Template_CreateHangingVertex

str peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_CreateHangingVertex
static

◆ Template_CreatePersistentVertex

str peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_CreatePersistentVertex
static

◆ Template_ResetResidual

str peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_ResetResidual
static

◆ Template_TouchCellFirstTime

str peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_TouchCellFirstTime
static
Initial value:
= """
const tarch::la::Vector<ThreePowerD,double> stencil = toolbox::finiteelements::getLaplacian(
marker.h(), 1.0
);
const toolbox::finiteelements::ElementWiseAssemblyMatrix A = toolbox::finiteelements::getElementWiseAssemblyMatrix(
stencil
);
tarch::la::Vector<TwoPowerD,double> u;
for (int i=0; i<TwoPowerD; i++) {
u(i) = fineGridVertices{{UNKNOWN}}(i).{{UNKNOWN_GETTER}}();
}
tarch::la::Vector<TwoPowerD,double> r = A * u;
for (int i=0; i<TwoPowerD; i++) {
fineGridVertices{{UNKNOWN}}(i).{{RESIDUAL_SETTER}}(
fineGridVertices{{UNKNOWN}}(i).{{RESIDUAL_GETTER}}() + r(i)
);
}
"""

Definition at line 86 of file MatrixFreeJacobi.py.

Referenced by peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_body_of_operation(), peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_body_of_operation(), peano4.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.get_body_of_operation(), solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.get_body_of_operation(), solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.get_body_of_operation(), and api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.get_body_of_operation().

◆ Template_UpdateValue

str peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.Template_UpdateValue
static
Initial value:
= """
const tarch::la::Vector<ThreePowerD,double> stencil = toolbox::finiteelements::getLaplacian(
marker.h(), 1.0
);
const double diag = stencil(ThreePowerD/2);
const double residual = {{RHS}} * tarch::la::volume(marker.h()) - fineGridVertex{{UNKNOWN}}.{{RESIDUAL_GETTER}}();
fineGridVertex{{UNKNOWN}}.{{UNKNOWN_SETTER}}(
fineGridVertex{{UNKNOWN}}.{{UNKNOWN_GETTER}}()
+
{{OMEGA}} * residual / diag
);
if ( marker.coincidesWithCoarseGridVertex() ) {
tarch::la::Vector<Dimensions,int> parent = marker.getRelativePositionWithinFatherCell() / 3;
coarseGridVertices{{UNKNOWN}}( peano4::utils::dLinearised(parent,2) ).{{UNKNOWN_SETTER}}(
fineGridVertex{{UNKNOWN}}.{{UNKNOWN_GETTER}}()
);
}
"""

Definition at line 109 of file MatrixFreeJacobi.py.

Referenced by peano4.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_body_of_operation(), and peano4.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_body_of_operation().


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