4 subroutine domshrink(iflags2,iflags,idim,jdim)
7 implicit double precision (a-h, o-z)
10 integer(kind=1) iflags2(0:idim+1,0:jdim+1)
11 integer(kind=1) iflags (0:idim+1,0:jdim+1)
23 write(
outunit,*)
" from domshrink: on entry, iflags2" 26 write(
outunit,100)(iflags2(i,j),i=1,idim)
33 iflags(i,j) = iflags2(i,j)
34 if (iflags2(i ,j ) .le. 0 .or.
35 1 iflags2(i+1,j ) .le. 0 .or. iflags2(i-1,j ) .le. 0 .or.
36 2 iflags2(i+1,j+1) .le. 0 .or. iflags2(i-1,j+1) .le. 0 .or.
37 3 iflags2(i ,j-1) .le. 0 .or. iflags2(i ,j+1) .le. 0 .or.
38 4 iflags2(i+1,j-1) .le. 0 .or. iflags2(i-1,j-1) .le. 0)
then 49 if (iflags(1,j) .eq. 1) iflags(0,j) = 1
50 if (iflags(idim,j) .eq. 1) iflags(idim+1,j) = 1
55 if (iflags(i,1) .eq. 1) iflags(i,0) = 1
56 if (iflags(i,jdim) .eq. 1) iflags(i,jdim+1) = 1
61 write(
outunit,*)
" from domshrink: on exit, iflags" 64 write(
outunit,100)(iflags(i,j),i=1,idim)
integer, parameter outunit
The module contains the definition of a "node descriptor" as well as other global variables used duri...
subroutine domshrink(iflags2, iflags, idim, jdim)