4 subroutine domup(iflags2,iflags,ibase,jbase,isize,jsize,lev)
7 implicit double precision (a-h, o-z)
10 integer(kind=1) iflags2(0:isize+1,0:jsize+1)
11 integer(kind=1) iflags (0:ibase+1,0:jbase+1)
22 write(
outunit,*)
" from domup: domflags (before expansion)" 25 write(
outunit,100)(iflags(i,j),i=1,ibase)
40 iflags2(ifine+mi,jfine+mj) = iflags(i,j)
49 iflags2(0,j) = iflags2(isize,j)
50 iflags2(isize+1,j) = iflags2(1,j)
54 if (iflags2(1,j) .eq. 1) iflags2(0,j) = 1
55 if (iflags2(isize,j) .eq. 1) iflags2(isize+1,j) = 1
60 iflags2(i,0) = iflags2(i,jsize)
61 iflags2(i,jsize+1) = iflags2(i,1)
65 iflags2(i,0) = iflags2(isize+1-i,1)
66 iflags2(i,jsize+1) = iflags2(isize+1-i,jsize)
71 if (iflags2(i,1) .eq. 1) iflags2(i,0) = 1
72 if (iflags2(i,jsize) .eq. 1) iflags2(i,jsize+1) = 1
79 if (iflags2(0,1)+iflags2(1,0) .eq. 2) iflags2(0,0)=1
80 if (iflags2(isize,0)+iflags2(isize+1,1) .eq. 2)
81 . iflags2(isize+1,0)=1
82 if (iflags2(isize,jsize+1)+iflags2(isize+1,jsize) .eq. 2)
83 . iflags2(isize+1,jsize+1)=1
84 if (iflags2(0,jsize)+iflags2(1,jsize+1) .eq. 2)
85 . iflags2(0,jsize+1)=1
89 write(
outunit,*)
" from domup: domflags (after expansion)" 92 write(
outunit,100)(iflags2(i,j),i=1,isize)
subroutine domup(iflags2, iflags, ibase, jbase, isize, jsize, lev)
integer, dimension(maxlv) intraty
integer, parameter outunit
integer, dimension(maxlv) intratx
The module contains the definition of a "node descriptor" as well as other global variables used duri...