|
Peano
|


Public Member Functions | |
| construct_output (self, exahype2_project, peano_project, time_step, add_global_tasks=True) | |
| Public Member Functions inherited from exahype2.api.Solver.Solver.NumericalScheme.NumericalSchemeGenerator | |
| __init__ (self, Solver solver, list[tuple[Target, bool]] configurations) | |
| reset_configurations (self, Target target, bool stateless) | |
| add_configuration (self, Target target, bool stateless) | |
Private Member Functions | |
| __create_time_step_functions (self, exahype2_project, peano4_project) | |
| Calling this function is delayed until all PDE term information is provided. | |
| __construct_kernel_calls (self) | |
| __construct_kernel_call (self, Target target, bool stateless, OutputLanguage language, MemoryLayout memory_layout, str function_name=None) | |
| This function constructs the calls to the compute kernels based on the application PDE terms and the version chosen. | |
Additional Inherited Members | |
| Protected Attributes inherited from exahype2.api.Solver.Solver.NumericalScheme.NumericalSchemeGenerator | |
| _solver = solver | |
| _configurations = configurations | |
Definition at line 535 of file RusanovWithExplicitEuler.py.
|
private |
This function constructs the calls to the compute kernels based on the application PDE terms and the version chosen.
| function_name | str Unqualified name of the kernel. Defaults to the time step kernel. |
Definition at line 924 of file RusanovWithExplicitEuler.py.
References exagrype.api.FD4WithKODissipation.FD4WithKODissipation._solver, exahype2.api.blockstructured.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.blockstructured.ConsumeRefinementRequests.ConsumeRefinementRequests._solver, exahype2.api.blockstructured.DynamicMeshRefinement.DynamicMeshRefinement._solver, exahype2.api.blockstructured.LoadCheckpoint._LoadPatchesFromCheckpoint._solver, exahype2.api.blockstructured.LoadCheckpoint.LoadCheckpoint._solver, exahype2.api.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.fv.actionsets.DiscardPatchInterior.DiscardPatchInterior._solver, exahype2.api.fv.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.fv.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler._solver, and _solver.
Referenced by __construct_kernel_calls(), exahype2.api.fv.RusanovWithOptimisticExplicitEuler.RusanovWithOptimisticExplicitEuler.construct_output(), and exahype2.api.rkfd4.CentralDifferencesWithRungeKutta.CentralDifferencesWithRungeKutta.construct_output().

|
private |
Definition at line 918 of file RusanovWithExplicitEuler.py.
References __construct_kernel_call(), and _configurations.

|
private |
Calling this function is delayed until all PDE term information is provided.
In this way we can avoid generating code that will not be used. The following information is required to translate a Python function using dslhype:
TODO: Currently the MLIR types are passed manually here, this should ideally be inferred
Definition at line 730 of file RusanovWithExplicitEuler.py.
References _configurations, exagrype.api.FD4WithKODissipation.FD4WithKODissipation._solver, exahype2.api.blockstructured.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.blockstructured.ConsumeRefinementRequests.ConsumeRefinementRequests._solver, exahype2.api.blockstructured.DynamicMeshRefinement.DynamicMeshRefinement._solver, exahype2.api.blockstructured.LoadCheckpoint._LoadPatchesFromCheckpoint._solver, exahype2.api.blockstructured.LoadCheckpoint.LoadCheckpoint._solver, exahype2.api.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.fv.actionsets.DiscardPatchInterior.DiscardPatchInterior._solver, exahype2.api.fv.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.fv.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler._solver, and _solver.
Referenced by exahype2.api.fv.RusanovWithOptimisticExplicitEuler.RusanovWithOptimisticExplicitEuler.construct_output().

| exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEulerGenerator.construct_output | ( | self, | |
| exahype2_project, | |||
| peano_project, | |||
| time_step, | |||
| add_global_tasks = True ) |
Reimplemented from exahype2.api.Solver.Solver.NumericalScheme.NumericalSchemeGenerator.
Definition at line 536 of file RusanovWithExplicitEuler.py.
References exagrype.api.FD4WithKODissipation.FD4WithKODissipation._solver, exahype2.api.blockstructured.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.blockstructured.ConsumeRefinementRequests.ConsumeRefinementRequests._solver, exahype2.api.blockstructured.DynamicMeshRefinement.DynamicMeshRefinement._solver, exahype2.api.blockstructured.LoadCheckpoint._LoadPatchesFromCheckpoint._solver, exahype2.api.blockstructured.LoadCheckpoint.LoadCheckpoint._solver, exahype2.api.fv.actionsets.AbstractFVActionSet.AbstractFVActionSet._solver, exahype2.api.fv.actionsets.ApplyDirichletBoundaryConditions.ApplyDirichletBoundaryConditions._solver, exahype2.api.fv.actionsets.DiscardPatchInterior.DiscardPatchInterior._solver, exahype2.api.fv.AdaptMeshAndBalanceLoad.AdaptMeshAndBalanceLoad._solver, exahype2.api.fv.PlotAsVTKFile.PlotAsVTKFile._solver, exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler._solver, and _solver.