MPI-AMRVAC
3.1
The MPI - Adaptive Mesh Refinement - Versatile Advection Code
|
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... | |
Module for flux conservation near refinement boundaries.
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 1104 of file mod_fix_conserve.t.
subroutine, public mod_fix_conserve::allocatebflux |
Definition at line 396 of file mod_fix_conserve.t.
subroutine, public mod_fix_conserve::deallocatebflux |
Definition at line 445 of file mod_fix_conserve.t.
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 465 of file mod_fix_conserve.t.
subroutine, public mod_fix_conserve::fix_edges | ( | type(state), dimension(max_blocks) | psuse, |
integer, intent(in) | idim, | ||
integer, intent(in) | LIM | ||
) |
subroutine mod_fix_conserve::flux_to_edge | ( | integer | igrid, |
integer | ixI, | ||
integer | L, | ||
integer | idims, | ||
integer | iside, | ||
logical | restrict, | ||
double precision, dimension(ixi^s,sdim:3), intent(in) | fE | ||
) |
Definition at line 697 of file mod_fix_conserve.t.
subroutine, public mod_fix_conserve::init_comm_fix_conserve | ( | integer, intent(in) | idim, |
integer, intent(in) | LIM, | ||
integer, intent(in) | nwfluxin | ||
) |
Definition at line 41 of file mod_fix_conserve.t.
subroutine, public mod_fix_conserve::recvflux | ( | integer, intent(in) | idim, |
integer, intent(in) | LIM | ||
) |
Definition at line 173 of file mod_fix_conserve.t.
subroutine, public mod_fix_conserve::sendflux | ( | integer, intent(in) | idim, |
integer, intent(in) | LIM | ||
) |
Definition at line 281 of file mod_fix_conserve.t.
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 946 of file mod_fix_conserve.t.
subroutine, public mod_fix_conserve::store_edge | ( | integer, intent(in) | igrid, |
integer, intent(in) | ixI, | ||
integer, intent(in) | L, | ||
double precision, dimension(ixi^s,sdim:3), intent(in) | fE, | ||
integer, intent(in) | idim, | ||
integer, intent(in) | LIM | ||
) |
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 597 of file mod_fix_conserve.t.
type(fluxalloc), dimension(:,:,:), allocatable, public mod_fix_conserve::pflux |
store flux to fix conservation
Definition at line 11 of file mod_fix_conserve.t.