2D AMRCLAW
Functions/Subroutines
shiftset2.f File Reference

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...
 

Function/Subroutine Documentation

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

Parameters
rectflagsarray to be flagged
iloglobal i index of the left border of the grid being projected to (being flagged)
ihiglobal i index of the right border of the grid being projected to (being flagged)
jloglobal j index of the lower border of the grid being projected to (being flagged)
jhiglobal i index of the upper border of the grid being projected to (being flagged)
mbuffwidth of the buffer zone

Definition at line 25 of file shiftset2.f.

Referenced by bufnst2().

Here is the caller graph for this function: