|
Peano
|
Fourth-order Finite Differences with Runge-Kutta for both solvers (exahype2.api.rkfd4.CentralDifferencesWithRungeKutta). More...


Public Member Functions | |
| __init__ (self, int patch_size, int rk_order) | |
| Public Member Functions inherited from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator | |
| __init__ (self, int patch_size) | |
| attach_to (self, host) | |
| Install the numerical schemes of the building blocks on the solvers of the host. | |
| construct_output (self, exahype2_project, peano_project, setup_simulation, time_step, plot, mesh_adaptation) | |
| Build the task graph of the coupled system, and add it to time_step. | |
Data Fields | |
| rk_order = rk_order | |
| Data Fields inherited from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator | |
| patch_size = patch_size | |
Protected Member Functions | |
| _create_scheme (self, solver) | |
| The numerical scheme of one of the solvers, i.e. | |
| int | _number_of_stages (self) |
| Number of stages of the time integrator. | |
| _stage_input (self, solver, stage) | |
| The patch which a solver's stage reads as input (it holds the solver's unknowns of the stage's time level). | |
| _end_of_stage (self, solver, graph, stage) | |
| The tasks of a solver's graph that end a stage. | |
Additional Inherited Members | |
| Static Public Attributes inherited from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator | |
| bool | MULTIPLICATIVE = False |
| str | COPY_TASK_NAME = "Copy CCZ4 fields into {} stage {}" |
| str | SYNCHRONISE_TASK_NAME = "Synchronise time step sizes" |
| Static Protected Member Functions inherited from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator | |
| _first_tasks (graph, previous_end) | |
| The tasks of a solver's graph that start a stage. | |
| Protected Attributes inherited from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator | |
| _host = None | |
| Install the numerical schemes of the building blocks on the solvers of the host. | |
| dict | _schemes = {} |
| Install the numerical schemes of the building blocks on the solvers of the host. | |
Fourth-order Finite Differences with Runge-Kutta for both solvers (exahype2.api.rkfd4.CentralDifferencesWithRungeKutta).
The solvers exchange data in each Runge-Kutta stage. CCZ4 uses the lopsided advection of its shift.
Definition at line 11 of file RungeKuttaFD4InnerCoupling.py.
| exagrype.api.scalarfield.RungeKuttaFD4InnerCoupling._RungeKuttaFD4.__init__ | ( | self, | |
| int | patch_size, | ||
| int | rk_order ) |
| patch_size | int Number of grid cells per patch and axis. The same for both solvers. |
| rk_order | int Order of the Runge-Kutta scheme, i.e. its number of stages (one to four). |
Definition at line 20 of file RungeKuttaFD4InnerCoupling.py.
References __init__().
Referenced by __init__().


|
protected |
The numerical scheme of one of the solvers, i.e.
a building block of the whole scheme
Reimplemented from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.
Definition at line 33 of file RungeKuttaFD4InnerCoupling.py.
References exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator._host.
|
protected |
The tasks of a solver's graph that end a stage.
Global tasks do not count.
Reimplemented from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.
Definition at line 52 of file RungeKuttaFD4InnerCoupling.py.
References rk_order.
|
protected |
Number of stages of the time integrator.
Reimplemented from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.
Definition at line 46 of file RungeKuttaFD4InnerCoupling.py.
References rk_order.
|
protected |
The patch which a solver's stage reads as input (it holds the solver's unknowns of the stage's time level).
Reimplemented from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.
Definition at line 49 of file RungeKuttaFD4InnerCoupling.py.
Referenced by exagrype.api.CCZ4SolverBase.CCZ4SolverBase.generate_solver_realisation().

| exagrype.api.scalarfield.RungeKuttaFD4InnerCoupling._RungeKuttaFD4.rk_order = rk_order |
Definition at line 31 of file RungeKuttaFD4InnerCoupling.py.
Referenced by exahype2.api.rkfd4.CentralDifferencesWithRungeKutta.CentralDifferencesWithRungeKutta.__create_data_structures(), _end_of_stage(), and _number_of_stages().