MPI-AMRVAC  3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Data Types | Modules | Functions/Subroutines | Variables
mod_multigrid_coupling.t File Reference

Go to the source code of this file.

Data Types

interface  mod_multigrid_coupling::after_new_tree
 

Modules

module  mod_multigrid_coupling
 Module to couple the octree-mg library to AMRVAC. This file uses the VACPP preprocessor, but its use is kept to a minimum.
 

Functions/Subroutines

subroutine mod_multigrid_coupling::mg_setup_multigrid ()
 Setup multigrid for usage. More...
 
subroutine mod_multigrid_coupling::mg_copy_boundary_conditions (mg, iw)
 Set multigrid boundary conditions for the solution according to variable iw. More...
 
subroutine mod_multigrid_coupling::mg_update_refinement (n_coarsen, n_refine)
 If the grid has changed, rebuild the full multigrid tree. More...
 
subroutine mod_multigrid_coupling::mg_copy_to_tree (iw_from, iw_to, restrict, restrict_gc, factor, state_from)
 Copy a variable to the multigrid tree, including a layer of ghost cells. More...
 
subroutine mod_multigrid_coupling::mg_copy_from_tree (iw_from, iw_to, state_to)
 Copy a variable from the multigrid tree. More...
 
subroutine mod_multigrid_coupling::mg_copy_from_tree_gc (iw_from, iw_to, state_to)
 Copy from multigrid tree with one layer of ghost cells. Corner ghost cells are not used/set. More...
 
subroutine mod_multigrid_coupling::mg_tree_from_amrvac (mg)
 Generate a multigrid tree that includes the amrvac tree, but also contains coarser grid levels. A number of checks has already been performed in mg_setup_multigrid, so we don't repeat these checks here. More...
 

Variables

type(mg_t) mod_multigrid_coupling::mg
 Data structure containing the multigrid tree. More...
 
procedure(after_new_tree), pointer mod_multigrid_coupling::mg_after_new_tree => null()
 If defined, this routine is called after a new multigrid tree is constructed. More...