4 subroutine addflags(rectflags,mibuff,mjbuff,
5 1 rctold,idim3,mitot,mjtot,mptr)
8 implicit double precision (a-h,o-z)
11 dimension rctold(idim3,mitot,mjtot)
12 dimension rectflags(mibuff,mjbuff)
22 do 10 j = nghost+1, mjtot-nghost
23 do 10 i = nghost+1, mitot-nghost
24 if (rctold(1,i,j) .ne. goodpt)
then
25 rectflags(i,j) = badpt
subroutine addflags(rectflags, mibuff, mjbuff, rctold, idim3, mitot, mjtot, mptr)