MPI-AMRVAC  2.2
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
Data Types | Functions/Subroutines | Variables
mod_fix_conserve Module Reference

Module for flux conservation near refinement boundaries. More...

Functions/Subroutines

subroutine, public init_comm_fix_conserve (idimLIM, nwfluxin)
 
subroutine, public recvflux (idimLIM)
 
subroutine, public sendflux (idimLIM)
 
subroutine, public allocatebflux
 
subroutine, public deallocatebflux
 
subroutine, public fix_conserve (psb, idimLIM, nw0, nwfluxin)
 
subroutine, public store_flux (igrid, fC, idimLIM, nwfluxin)
 
subroutine, public store_edge (igrid, ixIL, fE, idimLIM)
 
subroutine flux_to_edge (igrid, ixIL, idims, iside, restrict, fE)
 
subroutine, public fix_edges (psuse, idimLIM)
 
subroutine set_ix_circ (ixFL, ixtEL, ixEL, ixfEL, igrid, idims, iside, add, CoCorner, incD, pcorner, mcorner)
 This routine sets the indexes for the correction of the circulation according to several different cases, as grids located in different cpus, presence of corners, and different relative locations of the fine grid respect to the coarse one. More...
 
subroutine add_sub_circ (ixFL, ixtEL, ixEL, ixfEL, edge, idims, iside, add, s)
 

Variables

type(fluxalloc), dimension(:,:,:), allocatable, public pflux
 store flux to fix conservation More...
 

Detailed Description

Module for flux conservation near refinement boundaries.

Function/Subroutine Documentation

◆ add_sub_circ()

subroutine mod_fix_conserve::add_sub_circ ( integer  ixF,
integer, dimension(1:3)  L,
integer  ixtE,
  L,
integer  ixE,
  L,
integer  ixfE,
  L,
double precision, dimension(ixte^s,1:ndim-1)  edge,
integer, intent(in)  idims,
integer, intent(in)  iside,
logical, intent(in)  add,
type(state s 
)

Definition at line 1105 of file mod_fix_conserve.t.

◆ allocatebflux()

subroutine, public mod_fix_conserve::allocatebflux ( )

Definition at line 397 of file mod_fix_conserve.t.

◆ deallocatebflux()

subroutine, public mod_fix_conserve::deallocatebflux ( )

Definition at line 446 of file mod_fix_conserve.t.

◆ fix_conserve()

subroutine, public mod_fix_conserve::fix_conserve ( type(state), dimension(max_blocks)  psb,
integer, intent(in)  idim,
integer, intent(in)  LIM,
integer, intent(in)  nw0,
integer, intent(in)  nwfluxin 
)

Definition at line 466 of file mod_fix_conserve.t.

◆ fix_edges()

subroutine, public mod_fix_conserve::fix_edges ( type(state), dimension(max_blocks)  psuse,
integer, intent(in)  idim,
integer, intent(in)  LIM 
)

Definition at line 777 of file mod_fix_conserve.t.

Here is the call graph for this function:

◆ flux_to_edge()

subroutine mod_fix_conserve::flux_to_edge ( integer  igrid,
integer  ixI,
integer  L,
integer  idims,
integer  iside,
logical  restrict,
double precision, dimension(ixi^s,7-2*ndim:3), intent(in)  fE 
)

Definition at line 698 of file mod_fix_conserve.t.

◆ init_comm_fix_conserve()

subroutine, public mod_fix_conserve::init_comm_fix_conserve ( integer, intent(in)  idim,
integer, intent(in)  LIM,
integer, intent(in)  nwfluxin 
)

Definition at line 42 of file mod_fix_conserve.t.

◆ recvflux()

subroutine, public mod_fix_conserve::recvflux ( integer, intent(in)  idim,
integer, intent(in)  LIM 
)

Definition at line 174 of file mod_fix_conserve.t.

◆ sendflux()

subroutine, public mod_fix_conserve::sendflux ( integer, intent(in)  idim,
integer, intent(in)  LIM 
)

Definition at line 282 of file mod_fix_conserve.t.

◆ set_ix_circ()

subroutine mod_fix_conserve::set_ix_circ ( integer, intent(out)  ixF,
integer, dimension(1:3), intent(out)  L,
integer, intent(out)  ixtE,
  L,
integer, intent(out)  ixE,
  L,
integer, intent(out)  ixfE,
  L,
integer, intent(in)  igrid,
integer, intent(in)  idims,
integer, intent(in)  iside,
logical, intent(in)  add,
logical, intent(in)  CoCorner,
integer, intent(in)  inc,
integer, intent(in)  D,
logical, dimension(1:ndim), intent(inout)  pcorner,
logical, dimension(1:ndim), intent(inout)  mcorner 
)

This routine sets the indexes for the correction of the circulation according to several different cases, as grids located in different cpus, presence of corners, and different relative locations of the fine grid respect to the coarse one.

Definition at line 947 of file mod_fix_conserve.t.

◆ store_edge()

subroutine, public mod_fix_conserve::store_edge ( integer, intent(in)  igrid,
integer, intent(in)  ixI,
integer, intent(in)  L,
double precision, dimension(ixi^s,7-2*ndim:3), intent(in)  fE,
integer, intent(in)  idim,
integer, intent(in)  LIM 
)

Definition at line 651 of file mod_fix_conserve.t.

Here is the call graph for this function:

◆ store_flux()

subroutine, public mod_fix_conserve::store_flux ( integer, intent(in)  igrid,
double precision, dimension(ixg^t,1:nwfluxin,1:ndim), intent(in)  fC,
integer, intent(in)  idim,
integer, intent(in)  LIM,
integer, intent(in)  nwfluxin 
)

Definition at line 598 of file mod_fix_conserve.t.

Variable Documentation

◆ pflux

type(fluxalloc), dimension(:,:,:), allocatable, public mod_fix_conserve::pflux

store flux to fix conservation

Definition at line 11 of file mod_fix_conserve.t.