2D AMRCLAW
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | shiftset2 (rectflags, ilo, ihi, jlo, jhi, mbuff) |
For an input grid, flag cells near the previously flagged cells for creating buffer zone. More... | |
subroutine shiftset2 | ( | dimension(ilo-mbuff:ihi+mbuff,jlo-mbuff:jhi+mbuff) | rectflags, |
ilo, | |||
ihi, | |||
jlo, | |||
jhi, | |||
mbuff | |||
) |
For an input grid, flag cells near the previously flagged cells for creating buffer zone.
Shift by + or - 1 in either direction to do bitwise calculus for proper nesting, buffering, etc. similar to cshift on CM machine. includes periodic buffering as well.
NEWER VERSION: DOES ALL DIRS AT SAME TIME rectflags array has been augmented by enough border cells to do buffering in place in the grid later will look to see if flagged pts are properly nested
rectflags | array to be flagged |
ilo | global i index of the left border of the grid being projected to (being flagged) |
ihi | global i index of the right border of the grid being projected to (being flagged) |
jlo | global j index of the lower border of the grid being projected to (being flagged) |
jhi | global i index of the upper border of the grid being projected to (being flagged) |
mbuff | width of the buffer zone |
Definition at line 26 of file shiftset2.f.
References amr_module::ibuff.
Referenced by bufnst2().