Peano
Loading...
Searching...
No Matches
manipulate-solver-steps-illustrations.RusanovWithPostprocessing Class Reference

The example of the page: insert a step after each solution update. More...

Inheritance diagram for manipulate-solver-steps-illustrations.RusanovWithPostprocessing:
Collaboration diagram for manipulate-solver-steps-illustrations.RusanovWithPostprocessing:

Public Member Functions

 construct_output (self, exahype2_project, peano_project, time_step, add_global_tasks=True)
 Has to be implemented by subclass.
Public Member Functions inherited from exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler
 __init__ (self, Solver solver, int patch_size, int overlap=1, float cfl_constant=0.9, "toolbox.blockstructured.api.InterpolateHangingFaces.Scheme" interpolation=toolbox.blockstructured.api.InterpolateHangingFaces.Scheme.Linear, "toolbox.blockstructured.api.RestrictHangingFaces.Scheme" restriction=toolbox.blockstructured.api.RestrictHangingFaces.Scheme.Averaging, float min_volume_size=None, float max_volume_size=None)
 The constructor memorises the attributes.
str kernel_function_name (self)
 Name of the generated time step kernel.
str max_eigenvalue_kernel_function_name (self)
 Name of the generated kernel which determines the maximum eigenvalue over a patch.
Solver.MeshAdaptation create_default_mesh_adaptation (self)
 The Finite Volume schemes adapt the mesh and balance the load through exahype2.api.fv.AdaptMeshAndBalanceLoad by default.
"toolbox.blockstructured.api.RestrictHangingFaces" create_restriction_of_hanging_faces (self)
 Action set which restricts the projected fine data from the hanging faces onto the coarse faces.
Public Member Functions inherited from exahype2.api.Solver.Solver.NumericalScheme
 __init__ (self, "Solver" solver)
 wrap_task_graph_in_load_balancing_and_amr_tasks (self, time_step)
 Embed the time step's task graph into the global load balancing and AMR tasks.

Additional Inherited Members

Data Fields inherited from exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler
 min_volume_size = min_volume_size
 max_volume_size = max_volume_size
 interpolation = interpolation
 restriction = restriction
 patch_size = patch_size
 halo_size = overlap
 overlap = overlap
 kernel_namespace = None
 max_eigenvalue_kernel_call = None
 cfl_constant = cfl_constant
Static Public Attributes inherited from exahype2.api.Solver.Solver.NumericalScheme
str DYNAMIC_MESH_REFINEMENT_TASK_NAME = "Dynamic mesh refinement and load balancing"
 Name of the last task of each time step without the solver's name as prefix, i.e.
Protected Attributes inherited from exahype2.api.Solver.Solver.NumericalScheme
 _solver = solver
Solver.NumericalScheme.NumericalSchemeGenerator _generator = None

Detailed Description

The example of the page: insert a step after each solution update.

Definition at line 46 of file manipulate-solver-steps-illustrations.py.

Member Function Documentation

◆ construct_output()

manipulate-solver-steps-illustrations.RusanovWithPostprocessing.construct_output ( self,
exahype2_project,
peano_project,
time_step,
add_global_tasks = True )

Has to be implemented by subclass.

time_step: peano4.api.taskgraph.Graph The task graph of the surrounding exahype2_project's time stepping phase, so the numerical scheme can add its own tasks into it.

Parameters
add_global_tasksbool Whether the scheme adds the tasks that belong to the mesh as a whole rather than to the solver: it switches the load balancing off at the begin of the time step, and its last task evaluates the adaptivity criterion and switches the load balancing on again. If set, the scheme adds these tasks by calling wrap_task_graph_in_load_balancing_and_amr_tasks() as its very last step. A host that couples several solvers passes False, as it wraps the concatenated graph itself.

Reimplemented from exahype2.api.fv.RusanovWithExplicitEuler.RusanovWithExplicitEuler.

Definition at line 49 of file manipulate-solver-steps-illustrations.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 construct_output().

Referenced by construct_output().

Here is the call graph for this function:
Here is the caller graph for this function:

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