2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | setphysbndryflags (iflags, ilo, ihi, jlo, jhi, mbuff, level) |
If grid borders the physical domain then set domain flags to 1 in buffer zone (which is outside the physical domain). More... | |
subroutine setphysbndryflags | ( | integer*1, dimension(ilo-mbuff:ihi+mbuff, jlo-mbuff:jhi+mbuff) | iflags, |
ilo, | |||
ihi, | |||
jlo, | |||
jhi, | |||
mbuff, | |||
level | |||
) |
If grid borders the physical domain then set domain flags to 1 in buffer zone (which is outside the physical domain).
That way when shrink by 1 to get proper nested domain, you wont lose the first border cell of a grid
flag array uses 0-based index space
if periodic, then have to look elsewhere to see if last interior row/col that is flagged is ok. this is done in the calling routine that transfers flagged points to base grids
iflags | array that stores the flags for this grid |
ilo | global i index of left border of the grid |
ihi | global i index of right border of the grid |
jlo | global j index of lower border of the grid |
jhi | global j index of upper border of the grid |
mbuff | width of buffer zone |
level | AMR level of the grid being flagged |
Definition at line 29 of file setPhysBndryFlags.f.
References amr_module::iregsz, amr_module::jregsz, amr_module::xperdom, and amr_module::yperdom.
Referenced by griddomshrink(), and setdomflags().