Peano
Loading...
Searching...
No Matches
FiniteVolumesInnerCoupling.py
Go to the documentation of this file.
1""" This file is part of the ExaGRyPE project. For conditions of distribution and
2 use, please see the copyright notice at www.peano-framework.org
3"""
4
5import exahype2.api
6
7from .InnerCouplingGenerator import InnerCouplingGenerator
8
9
11 """!
12
13 Explicit Euler with a Rusanov flux for both solvers (@ref exahype2.api.fv.RusanovWithExplicitEuler)
14
15 The time integrator has one stage, i.e. the solvers exchange data once per time step.
16
17 """
18
19 def _create_scheme(self, solver):
21
22 def _number_of_stages(self) -> int:
23 return 1
24
25 def _stage_input(self, solver, stage):
26 return solver._patch
27
28 def _end_of_stage(self, solver, graph, stage):
29 return [task for task in graph.sink_tasks() if not task.entity.is_global]
30
31
33 """! Finite Volumes; the scalar field's step follows the one of CCZ4 """
34
35 MULTIPLICATIVE = True
36
37
39 """! Finite Volumes; the steps of CCZ4 and the scalar field run in parallel """
40
41 MULTIPLICATIVE = False
Finite Volumes; the steps of CCZ4 and the scalar field run in parallel.
Explicit Euler with a Rusanov flux for both solvers (exahype2.api.fv.RusanovWithExplicitEuler).
_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 l...
_end_of_stage(self, solver, graph, stage)
The tasks of a solver's graph that end a stage.
_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.
Numerical scheme of the coupled solver exagrype.api.scalarfield.CCZ4WithScalarField_InnerCoupling.
Finite Volumes with a Rusanov Riemann solver and explicit Euler time stepping, realised over a block-...