7 implicit double precision (a-h, o-z)
9 dimension rectflags(ilo-mbuff:ihi+mbuff, jlo-mbuff:jhi+mbuff)
22 if (ilo .eq. 0 .and. .not. xperdom)
then
24 do j = jlo-mbuff, jhi+mbuff
25 do i = ilo-mbuff, ilo-1
26 rectflags(i,j) = goodpt
29 rectflags(0,j) = abs(rectflags(0,j))
33 if (ihi .eq. iregsz(level)-1 .and. .not. xperdom)
then
35 do j = jlo-mbuff, jhi+mbuff
36 do i = ihi+1, ihi+mbuff
37 rectflags(i,j) = goodpt
39 rectflags(ihi,j) = abs(rectflags(ihi,j))
44 if (jlo .eq. 0 .and. .not. yperdom)
then
46 do i = ilo-mbuff, ihi+mbuff
47 do j = jlo-mbuff, jlo-1
48 rectflags(i,j) = goodpt
50 rectflags(i,0) = abs(rectflags(i,0))
54 if (jhi .eq. jregsz(level)-1 .and. .not. yperdom)
then
56 do i = ilo-mbuff, ihi+mbuff
57 do j = jhi+1, jhi+mbuff
58 rectflags(i,j) = goodpt
60 rectflags(i,jhi) = abs(rectflags(i,jhi))
subroutine setphysbndry(rectflags, ilo, ihi, jlo, jhi, mbuff, level)