|
Peano
|


Public Member Functions | |
| __init__ (self, dg_solver, cg_solver, prolongation_matrix, prolongation_matrix_scaling, restriction_matrix, restriction_matrix_scaling, injection_matrix, injection_matrix_scaling) | |
| get_body_of_operation (self, operation_name) | |
| Return actual C++ code snippets to be inserted into C++ code. | |
| Public Member Functions inherited from DGCGCoupling.Test4Coupling | |
| __init__ (self, dg_solver, cg_solver, prolongation_matrix, prolongation_matrix_scaling, restriction_matrix, restriction_matrix_scaling, injection_matrix, injection_matrix_scaling) | |
| 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) | |
| We need the solver repository in this action set, as we directly access the solver object. | |
| get_attributes (self) | |
| Return attributes as copied and pasted into the generated class. | |
| get_static_initialisations (self, full_qualified_classname) | |
| Public Member Functions inherited from peano4.api.solversteps.ActionSet.ActionSet | |
| __init__ (self, descend_invocation_order=0, parallel=False) | |
| get_constructor_body (self) | |
| Define a tailored constructor body. | |
| 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. | |
Additional Inherited Members | |
| Data Fields inherited from DGCGCoupling.Test4Coupling | |
| dict | d = {} |
Definition at line 187 of file DGCGCoupling.py.
| DGCGCoupling.Test5Coupling.__init__ | ( | self, | |
| dg_solver, | |||
| cg_solver, | |||
| prolongation_matrix, | |||
| prolongation_matrix_scaling, | |||
| restriction_matrix, | |||
| restriction_matrix_scaling, | |||
| injection_matrix, | |||
| injection_matrix_scaling ) |
Definition at line 367 of file DGCGCoupling.py.
References __init__().
Referenced by __init__().


| DGCGCoupling.Test5Coupling.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. The snippet is executed if and only if the guard returned by get_guard_of_operation() holds, i.e. the body should not evaluate the guard itself. See the section "Guard and body" in the class documentation.
Reimplemented from DGCGCoupling.Test4Coupling.
Definition at line 404 of file DGCGCoupling.py.
References api.actionsets.EnumerateDoFs.EnumerateDoFs.d, api.actionsets.ImposeDirichletBoundaryConditions.ImposeDirichletBoundaryConditions.d, api.actionsets.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.ImposeDirichletBoundaryConditionsWithInteriorPenaltyMethod.d, api.actionsets.InitCellDoFs.InitCellDoFs.d, api.actionsets.InitFaceDoFs.InitFaceDoFs.d, api.actionsets.InitPetsc.SendDofsToVertices.d, api.actionsets.InitVertexDoFs.InitVertexDoFs.d, api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, api.actionsets.PlotExactSolution.PlotExactSolution.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnCellsBackOntoMesh.d, api.actionsets.ProjectPETScSolutionBackOntoMesh.ProjectPETScSolutionOnVerticesBackOntoMesh.d, api.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, api.solvers.CollocatedLowOrderDiscretisation.AssemblePetscMatrix.d, api.solvers.DiscontinuousGalerkinDiscretisation.AssemblePetscMatrix.d, archive_AssemblePETSCMatrix.AssemblePETSCMatrixOnCellsAndFaces.d, DGCGCoupling.Test4Coupling.d, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exahype2.api.rkfd4.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions.d, exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.d, exaparty.api.actionsets.Cleanup.Cleanup.d, exaparty.api.actionsets.DynamicMeshRefinementAnalysis.DynamicMeshRefinementAnalysis.d, exaparty.api.actionsets.ScatterGlobalMemory.ScatterGlobalMemory.d, exaparty.api.actionsets.SynchroniseVerticesWithPreviousMeshSweep.SynchroniseVerticesWithPreviousMeshSweep.d, exaparty.api.actionsets.UpdateParticleMarker.UpdateParticleMarker.d, exaparty.api.boundaryconditions.Fixed.Fixed.d, peano4.api.datamodel.ModelToDataRepository.ModelToDataRepository.d, peano4.api.output.Constants.Constants.d, peano4.api.output.Jinja2TemplatedHeaderFile.Jinja2TemplatedHeaderFile.d, peano4.api.output.Jinja2TemplatedHeaderImplementationFilePair.Jinja2TemplatedHeaderImplementationFilePair.d, peano4.api.output.Jinja2TemplateStringHeaderImplementationFilePair.Jinja2TemplateStringHeaderImplementationFilePair.d, peano4.api.output.Makefile.Makefile.d, 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, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.d, 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.api.actionsets.CollocatedMGSingleThreaded.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedMGSolver.InitDofs.InitDofsCollocatedMG.d, solvers.api.actionsets.CollocatedMGSolver.Prolongation.Prolongation.d, solvers.api.actionsets.CollocatedMGSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedMGSolver.Restriction.Restriction.d, solvers.api.actionsets.CollocatedMGSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.CollocatedSolver.InitDofs.InitDofsCollocated.d, solvers.api.actionsets.CollocatedSolver.ResetAndUpdateResidual.ResetAndUpdateResidual.d, solvers.api.actionsets.CollocatedSolver.UpdateSolution.UpdateSolution.d, solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.AdditiveDGCGCoupling.d, solvers.api.actionsets.DGCGCoupling.MultiplicativeDGCGCoupling.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolution.ProjectIntoCellAndUpdateCellSolution.d, solvers.api.actionsets.DGSolver.ProjectIntoCellAndUpdateCellSolutionWithTasks.ProjectIntoCellAndUpdateCellSolutionWithTasks.d, solvers.api.actionsets.DGSolver.ProjectOntoFaces.ProjectOntoFaces.d, solvers.api.actionsets.DGSolver.UpdateFaceSolution.UpdateFaceSolution.d, solvers.api.actionsets.DGSolver.UpdateResidual.UpdateResidual.d, solvers.api.actionsets.DGSolver.UpdateResidualWithTasks.UpdateResidualWithTasks.d, solvers.api.actionsets.InitHigherOrderDofs.InitHigherOrderDofs.d, solvers.api.actionsets.PlotDGDataInPeanoBlockFormat.PlotDGDataInPeanoBlockFormat.d, solvers.api.actionsets.PlotDGPatchesInPeanoBlockFormat.PlotDGPatchesInPeanoBlockFormat.d, solvers.api.actionsets.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.d, 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, UpdateCell.UpdateCell.d, UpdateFacets.UpdateFacets.d, api.actionsets.InitPetsc.SendDofsToVertices.templateTouchCellFirstTime, api.actionsets.PlotExactSolution.PlotExactSolution.templateTouchCellFirstTime, DGCGCoupling.Test4Coupling.templateTouchCellFirstTime, ProjectResidualsAndDiagonalOntoFacets.ProjectResidualsAndDiagonalOntoFacets.templateTouchCellFirstTime, 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, 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, UpdateCell.UpdateCell.templateTouchCellFirstTime, UpdateFacets.UpdateFacets.templateTouchCellFirstTime, and templateTouchFaceLastTime.
|
static |
Definition at line 312 of file DGCGCoupling.py.
Referenced by get_body_of_operation().