mod_selectgrids Module


Used by

  • module~~mod_selectgrids~~UsedByGraph module~mod_selectgrids mod_selectgrids proc~amr_coarsen_refine amr_coarsen_refine proc~amr_coarsen_refine->module~mod_selectgrids proc~main main proc~main->module~mod_selectgrids

Variables

Type Visibility Attributes Name Initial
integer, private, allocatable :: isafety(:,:)

Distance, in blocks, from the active zone, for every block of every rank. The lookups at the bottom of this file index it by (igrid, ipe) straight out of the neighbour tables, so it stays a full [max_blocks, 0:npe-1] table. Only the exchange is sized by the number of leaves; see gather_isafety. Kept between calls rather than allocated per regrid.

integer, private, allocatable :: rcvsafety(:)

Exchange buffers for gather_isafety, one entry per leaf.

integer, private, allocatable :: sndsafety(:)

Exchange buffers for gather_isafety, one entry per leaf.


Functions

private function igrid_active(igrid)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: igrid

Return Value integer


Subroutines

public subroutine selectgrids()

Arguments

None

private subroutine gather_isafety()

Make every rank's isafety flags known to every rank.

Read more…

Arguments

None