|
Peano
|
Optional realisation of exahype2.api.Project.mainfile_generator. More...


Public Member Functions | |
| __init__ (self, Project project, str function_calls, str additional_includes) | |
| construct_output (self, peano_project) | |
| Add this generator's output to peano_project (a peano4.api.Project-compatible object, or anything else that add()'s cleanly into peano_project.output). | |
| Public Member Functions inherited from exahype2.api.Project.Project.Generator | |
| __init__ (self, "Project" project) | |
Data Fields | |
| function_calls = function_calls | |
| additional_includes = additional_includes | |
| Data Fields inherited from exahype2.api.Project.Project.Generator | |
| project = project | |
Optional realisation of exahype2.api.Project.mainfile_generator.
It constructs a main function that times the performance of different functions and assesses their accuracy.
Definition at line 8 of file KernelMicrobenchmarkMain.py.
| exahype2.api.generators.KernelMicrobenchmarkMain.KernelMicrobenchmarkMain.__init__ | ( | self, | |
| Project | project, | ||
| str | function_calls, | ||
| str | additional_includes ) |
Definition at line 18 of file KernelMicrobenchmarkMain.py.
References __init__().
Referenced by __init__().


| exahype2.api.generators.KernelMicrobenchmarkMain.KernelMicrobenchmarkMain.construct_output | ( | self, | |
| peano_project ) |
Add this generator's output to peano_project (a peano4.api.Project-compatible object, or anything else that add()'s cleanly into peano_project.output).
This is the one thing every Generator has to implement.
peano_project: peano4.api.Project The Peano 4 project that self.project.generate_Peano4_project() is currently assembling. It is a local variable there, not an attribute - merely passed through here, so this generator can add its own artefacts to it.
Reimplemented from exahype2.api.Project.Project.Generator.
Definition at line 23 of file KernelMicrobenchmarkMain.py.
References dastgen2.DataModel.DataModel.additional_includes, exagrype.api.actionsets.ApplyReconstructionFunctor.ApplyReconstructionFunctor.additional_includes, exagrype.api.actionsets.CopyPatchWithLinearInterpolation.CopyPatchWithLinearInterpolation.additional_includes, exahype2.api.fv.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.additional_includes, additional_includes, function_calls, exahype2.api.generators.DefaultSimulationMain._ExaHyPEMainFileSequence.project, exahype2.api.generators.KernelMicrobenchmarkMain._ExaHyPEKernelBenchmarkMainFileSequence.project, and exahype2.api.Project.Project.Generator.project.
| exahype2.api.generators.KernelMicrobenchmarkMain.KernelMicrobenchmarkMain.additional_includes = additional_includes |
Definition at line 21 of file KernelMicrobenchmarkMain.py.
Referenced by exahype2.api.generators.KernelMicrobenchmarkMain._ExaHyPEKernelBenchmarkMainFileSequence.construct_output(), construct_output(), api.ApplyPointWiselyToPatch.ApplyPointWiselyToPatch.get_includes(), api.DynamicAMR.DynamicAMR.get_includes(), api.InterpolateAndRestrictCells.InterpolateAndRestrictCells.get_includes(), api.InterpolateHangingFaces.InterpolateHangingFaces.get_includes(), api.PlotPatchesInPeanoBlockFormat.PlotPatchesInPeanoBlockFormat.get_includes(), api.PlotPatchesOverFacesInPeanoBlockFormat.PlotPatchesOverFacesInPeanoBlockFormat.get_includes(), api.ProjectPatchOntoFaces.ProjectPatchOntoFaces.get_includes(), api.ProjectPatchWithHaloOntoFaces.ProjectPatchWithHaloOntoFaces.get_includes(), api.ReconstructPatchWithHalo.ReconstructPatchWithHalo.get_includes(), api.RestrictHangingFaces.RestrictHangingFaces.get_includes(), exahype2.api.rkfd4.actionsets.RollOverUpdatedFace.RollOverUpdatedFace.get_includes(), peano4.api.toolbox.multigrid.cellbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_includes(), peano4.api.toolbox.multigrid.MatrixFreeJacobi.MatrixFreeJacobi.get_includes(), peano4.api.toolbox.multigrid.vertexbased.ScalarJacobiWithRediscretisation.ScalarJacobiWithRediscretisation.get_includes(), peano4.api.toolbox.particles.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.InsertParticlesAlongCartesianLayoutIntoUnrefinedCells.get_includes(), peano4.api.toolbox.particles.InsertParticlesByCoordinates.InsertParticlesByCoordinates.get_includes(), peano4.api.toolbox.particles.InsertRandomParticlesIntoUnrefinedCells.InsertRandomParticlesIntoUnrefinedCells.get_includes(), peano4.api.toolbox.particles.PlotParticlesInVTKFormat.PlotParticlesInVTKFormat.get_includes(), peano4.api.toolbox.PlotCellDataInPeanoBlockFormat.PlotCellDataInPeanoBlockFormat.get_includes(), peano4.api.toolbox.PlotGridInPeanoBlockFormat.PlotGridInPeanoBlockFormat.get_includes(), and peano4.api.toolbox.PlotVertexDataInPeanoBlockFormat.PlotVertexDataInPeanoBlockFormat.get_includes().
| exahype2.api.generators.KernelMicrobenchmarkMain.KernelMicrobenchmarkMain.function_calls = function_calls |
Definition at line 20 of file KernelMicrobenchmarkMain.py.
Referenced by exahype2.api.generators.KernelMicrobenchmarkMain._ExaHyPEKernelBenchmarkMainFileSequence.construct_output(), and construct_output().