31 implicit double precision (a-h, o-z)
33 integer*1 iflags(ilo-mbuff:ihi+mbuff, jlo-mbuff:jhi+mbuff)
35 if (ilo-mbuff .lt. 0 .and. .not. xperdom)
then
37 do j = jlo-mbuff, jhi+mbuff
45 if (ihi+mbuff .ge. iregsz(level) .and. .not. xperdom)
then
47 do j = jlo-mbuff, jhi+mbuff
48 do i = iregsz(level), ihi+mbuff
56 if (jlo-mbuff .lt. 0 .and. .not. yperdom)
then
59 do i = ilo-mbuff, ihi+mbuff
66 if (jhi+mbuff .ge. jregsz(level) .and. .not. yperdom)
then
68 do j = jregsz(level), jhi+mbuff
69 do i = ilo-mbuff, ihi+mbuff
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 p...