Peano
Loading...
Searching...
No Matches
exagrype.api.scalarfield.FiniteVolumesInnerCoupling._FiniteVolumes Class Reference

Explicit Euler with a Rusanov flux for both solvers (exahype2.api.fv.RusanovWithExplicitEuler). More...

Inheritance diagram for exagrype.api.scalarfield.FiniteVolumesInnerCoupling._FiniteVolumes:
Collaboration diagram for exagrype.api.scalarfield.FiniteVolumesInnerCoupling._FiniteVolumes:

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

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 inherited from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator
 patch_size = patch_size
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.

Detailed Description

Explicit Euler with a Rusanov flux for both solvers (exahype2.api.fv.RusanovWithExplicitEuler).

The time integrator has one stage, i.e. the solvers exchange data once per time step.

Definition at line 10 of file FiniteVolumesInnerCoupling.py.

Member Function Documentation

◆ _create_scheme()

exagrype.api.scalarfield.FiniteVolumesInnerCoupling._FiniteVolumes._create_scheme ( self,
solver )
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 19 of file FiniteVolumesInnerCoupling.py.

Referenced by exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.attach_to().

Here is the caller graph for this function:

◆ _end_of_stage()

exagrype.api.scalarfield.FiniteVolumesInnerCoupling._FiniteVolumes._end_of_stage ( self,
solver,
graph,
stage )
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 28 of file FiniteVolumesInnerCoupling.py.

Referenced by exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.construct_output().

Here is the caller graph for this function:

◆ _number_of_stages()

int exagrype.api.scalarfield.FiniteVolumesInnerCoupling._FiniteVolumes._number_of_stages ( self)
protected

Number of stages of the time integrator.

Reimplemented from exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.

Definition at line 22 of file FiniteVolumesInnerCoupling.py.

Referenced by exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.construct_output().

Here is the caller graph for this function:

◆ _stage_input()

exagrype.api.scalarfield.FiniteVolumesInnerCoupling._FiniteVolumes._stage_input ( self,
solver,
stage )
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 25 of file FiniteVolumesInnerCoupling.py.

Referenced by exagrype.api.scalarfield.InnerCouplingGenerator.InnerCouplingGenerator.construct_output(), and exagrype.api.CCZ4SolverBase.CCZ4SolverBase.generate_solver_realisation().

Here is the caller graph for this function:

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