Peano
Loading...
Searching...
No Matches
solvers.api.actionsets.DGCGCoupling Namespace Reference

Data Structures

class  AbstractDGCGCoupling
 Couple the solution and updates of two different solvers. More...
 
class  AdditiveDGCGCoupling
 Introduce additive CC Coupling. More...
 
class  MultiplicativeDGCGCoupling
 Introduce multiplicative CC Coupling. More...
 

Functions

 prepare_CG_correction_solvers (dg_solver, cg_solver)
 Prepare CG solver for coupling and ensure that both solvers are invoked in the correct order.
 

Function Documentation

◆ prepare_CG_correction_solvers()

solvers.api.actionsets.DGCGCoupling.prepare_CG_correction_solvers ( dg_solver,
cg_solver )

Prepare CG solver for coupling and ensure that both solvers are invoked in the correct order.

Throughtout the mesh traversal steps from coarse to fine grid (descend), the DG solver is to be executed before(!) the CG solver. It is the DG solver which we equip with a preprocessing step, so we know that we are on the safe side here.

We also introduce a new helper value for the CG solver: newValue has, after each traversal, the injected value of the solution. We can then roll it over if we aim for a FAS-type implementation. Further to that, we have the solvers new rhs, which we again use for the next iteration, and its previous (old) value which we use to compute the delta.

See also
AbstractDGCGCoupling for a description of where the individual values are used.

Definition at line 8 of file DGCGCoupling.py.

Referenced by solvers.api.actionsets.DGCGCoupling.AbstractDGCGCoupling.__init__().

Here is the caller graph for this function: