Peano
Loading...
Searching...
No Matches
exagrype.api.FOSOSolver._HostedScheme Class Reference

The numerical scheme of the reconstruction solver. More...

Inheritance diagram for exagrype.api.FOSOSolver._HostedScheme:
Collaboration diagram for exagrype.api.FOSOSolver._HostedScheme:

Public Member Functions

 __init__ (self, solver, ccz4)
 __getattr__ (self, name)
 wrap_task_graph_in_load_balancing_and_amr_tasks (self, time_step)
 FOSOSolver wraps the concatenated graph through the scheme of CCZ4.
 construct_output (self, exahype2_project, peano_project, time_step, add_global_tasks=True)

Data Fields

list stage_graphs = []

Protected Attributes

 _ccz4 = ccz4

Detailed Description

The numerical scheme of the reconstruction solver.

The solver has no scheme of its own, but the generic parts of the solver still query one for patch size, halo and so forth. The hosted scheme forwards all such queries to the scheme of the CCZ4 solver. Its construct_output() asks the reconstruction solver for its task graph once per Runge-Kutta stage of CCZ4 (exahype2.api.Solver.Solver.create_task_graph()) and puts the graphs into the time stepping graph. The graphs are not connected: wiring them is the job of FOSOSolver._couple(). The scheme remembers the graphs in stage_graphs.

Definition at line 15 of file FOSOSolver.py.

Constructor & Destructor Documentation

◆ __init__()

exagrype.api.FOSOSolver._HostedScheme.__init__ ( self,
solver,
ccz4 )

Definition at line 32 of file FOSOSolver.py.

References __init__().

Referenced by __init__().

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

Member Function Documentation

◆ __getattr__()

exagrype.api.FOSOSolver._HostedScheme.__getattr__ ( self,
name )

Definition at line 38 of file FOSOSolver.py.

References _ccz4.

◆ construct_output()

exagrype.api.FOSOSolver._HostedScheme.construct_output ( self,
exahype2_project,
peano_project,
time_step,
add_global_tasks = True )

Definition at line 47 of file FOSOSolver.py.

◆ wrap_task_graph_in_load_balancing_and_amr_tasks()

exagrype.api.FOSOSolver._HostedScheme.wrap_task_graph_in_load_balancing_and_amr_tasks ( self,
time_step )

FOSOSolver wraps the concatenated graph through the scheme of CCZ4.

Definition at line 44 of file FOSOSolver.py.

Field Documentation

◆ _ccz4

exagrype.api.FOSOSolver._HostedScheme._ccz4 = ccz4
protected

Definition at line 34 of file FOSOSolver.py.

Referenced by __getattr__().

◆ stage_graphs

list exagrype.api.FOSOSolver._HostedScheme.stage_graphs = []

Definition at line 35 of file FOSOSolver.py.


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