Peano
Loading...
Searching...
No Matches
CouplingSynchronization Namespace Reference

Functions

 copyPatchAndApplyFunction (solverSource, solverDestination, indexArrayDestination, function, numberOfUnknownsToCopy)
 @coupling: This function can be used to copy values and transform them while doing so.
 
 determineSolverCoupling (atmospheric_solver, diffusion_solver, chemical_solver)
 
 setLastSolver (atmospheric_solver, diffusion_solver, chemical_solver)
 
 synchronizePatchGravityWaves (atmospheric_solver, diffusion_solver, chemical_solver)
 
 coupleTimeStepping (atmospheric_solver, diffusion_solver, chemical_solver)
 
 atmosphereToChemistry (atmospheric_solver, chemical_solver, numberOfVariablesAtmospheric, numberOfVariablesChemical, dimensions)
 
 atmosphereToDiffusion (atmospheric_solver, diffusion_solver, dimensions)
 
 diffusionToAtmosphere (atmospheric_solver, diffusion_solver, numberOfVariablesAtmospheric, numberOfVariablesDiffusion, dimensions)
 
 diffusionToChemistry (diffusion_solver, chemical_solver, numberOfVariablesDiffusion, numberOfVariablesChemical, dimensions)
 
 chemistryToAtmosphere (atmospheric_solver, chemical_solver)
 

Function Documentation

◆ atmosphereToChemistry()

CouplingSynchronization.atmosphereToChemistry ( atmospheric_solver,
chemical_solver,
numberOfVariablesAtmospheric,
numberOfVariablesChemical,
dimensions )

Definition at line 205 of file CouplingSynchronization.py.

References copyPatchAndApplyFunction().

Referenced by synchronizePatchGravityWaves().

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

◆ atmosphereToDiffusion()

CouplingSynchronization.atmosphereToDiffusion ( atmospheric_solver,
diffusion_solver,
dimensions )

Definition at line 252 of file CouplingSynchronization.py.

References copyPatchAndApplyFunction().

Referenced by synchronizePatchGravityWaves().

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

◆ chemistryToAtmosphere()

CouplingSynchronization.chemistryToAtmosphere ( atmospheric_solver,
chemical_solver )

Definition at line 427 of file CouplingSynchronization.py.

References copyPatchAndApplyFunction().

Referenced by synchronizePatchGravityWaves().

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

◆ copyPatchAndApplyFunction()

CouplingSynchronization.copyPatchAndApplyFunction ( solverSource,
solverDestination,
indexArrayDestination,
function,
numberOfUnknownsToCopy )

@coupling: This function can be used to copy values and transform them while doing so.

Particularly nice for momenta and the like.

solverSource: The solver to copy values from.

solverDestination: The solver to copy values to.

indexArrayDestination: Array of indices of length numberOfUnknownsToCopy providing a local index to copy source to. Source value depends on function.

function: A function applied to source values before copying. Unknown to copy is given by "unknown" and source cell base index by "sourceIndexLinearised".

numberOfUnknownsToCopy: Number of unknowns to copy in loop for each cell in patch.

Definition at line 1 of file CouplingSynchronization.py.

Referenced by atmosphereToChemistry(), atmosphereToDiffusion(), chemistryToAtmosphere(), diffusionToAtmosphere(), and diffusionToChemistry().

Here is the caller graph for this function:

◆ coupleTimeStepping()

CouplingSynchronization.coupleTimeStepping ( atmospheric_solver,
diffusion_solver,
chemical_solver )

Definition at line 176 of file CouplingSynchronization.py.

References determineSolverCoupling().

Here is the call graph for this function:

◆ determineSolverCoupling()

CouplingSynchronization.determineSolverCoupling ( atmospheric_solver,
diffusion_solver,
chemical_solver )

Definition at line 61 of file CouplingSynchronization.py.

Referenced by coupleTimeStepping(), setLastSolver(), and synchronizePatchGravityWaves().

Here is the caller graph for this function:

◆ diffusionToAtmosphere()

CouplingSynchronization.diffusionToAtmosphere ( atmospheric_solver,
diffusion_solver,
numberOfVariablesAtmospheric,
numberOfVariablesDiffusion,
dimensions )

Definition at line 314 of file CouplingSynchronization.py.

References copyPatchAndApplyFunction().

Referenced by synchronizePatchGravityWaves().

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

◆ diffusionToChemistry()

CouplingSynchronization.diffusionToChemistry ( diffusion_solver,
chemical_solver,
numberOfVariablesDiffusion,
numberOfVariablesChemical,
dimensions )

Definition at line 379 of file CouplingSynchronization.py.

References copyPatchAndApplyFunction().

Referenced by synchronizePatchGravityWaves().

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

◆ setLastSolver()

CouplingSynchronization.setLastSolver ( atmospheric_solver,
diffusion_solver,
chemical_solver )

Definition at line 72 of file CouplingSynchronization.py.

References determineSolverCoupling().

Here is the call graph for this function:

◆ synchronizePatchGravityWaves()

CouplingSynchronization.synchronizePatchGravityWaves ( atmospheric_solver,
diffusion_solver,
chemical_solver )