16 subroutine griddomup(iflags,iflags2,ilo,ihi,jlo,jhi,
17 . mbuff,lev,ilofine,ihifine,jlofine,jhifine)
20 implicit double precision (a-h, o-z)
22 integer*1 iflags (ilo-mbuff:ihi+mbuff,jlo-mbuff:jhi+mbuff)
23 integer*1 iflags2(ilofine-mbuff:ihifine+mbuff,
24 . jlofine-mbuff:jhifine+mbuff)
35 write(
outunit,*)
" from griddomup: flags (before expansion,",
37 do 5 j=jhi+mbuff,jlo-mbuff,-1
38 write(
outunit,100)(iflags(i,j),i=ilo-mbuff,ihi+mbuff)
45 do 10 j = jlofine-mbuff,jhifine+mbuff
46 do 10 i = ilofine-mbuff,ihifine+mbuff
55 ifine = i * lratiox - 1
56 jfine = j * lratioy - 1
59 iset = min(ifine+mi,ihifine+mbuff)
60 jset = min(jfine+mj,jhifine+mbuff)
61 iset = max(iset,ilofine-mbuff)
62 jset = max(jset,jlofine-mbuff)
63 iflags2(iset,jset) = iflags(i,j)
71 do 25 j = jlofine-mbuff, jhifine+mbuff
72 do 23 i = ihifine+1, ihifine+mbuff
76 iflags2(i,j) = iflags(ic,jc)
78 do 24 i = ilofine-mbuff, ilofine-1
82 iflags2(i,j) = iflags(ic,jc)
87 do 33 i = ilofine, ihifine
88 do 35 j = jlofine-mbuff, jlofine-1
92 iflags2(i,j) = iflags(ic,jc)
94 do 34 j = jhifine+1, jhifine+mbuff
98 iflags2(i,j) = iflags(ic,jc)
107 write(
outunit,*)
"from griddomup: flags (after ref 1 level up,",
109 do 70 j = jlofine-mbuff,jhifine+mbuff,-1
110 write(
outunit,100)(iflags2(i,j),i=ilofine-mbuff,ihifine+mbuff)
subroutine griddomup(iflags, iflags2, ilo, ihi, jlo, jhi, mbuff, lev, ilofine, ihifine, jlofine, jhifine)
iflags described flagged cells in a rectangular region described by ilo, ihi, jlo, jhi in level lev index space This subroutine projects iflags to iflag, which has flagging information in a rectangular region described by ilofine, ihifine, jlofine, jhifine in level lev+1 index space
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...