7 implicit double precision (a-h,o-z)
20 level = node(nestlevel,mptr)
25 cxlo = rnode(cornxlo,mptr)
26 cxhi = rnode(cornxhi,mptr)
27 cylo = rnode(cornylo,mptr)
28 cyhi = rnode(cornyhi,mptr)
29 nx = node(ndihi,mptr) - node(ndilo,mptr) + 1
30 ny = node(ndjhi,mptr) - node(ndjlo,mptr) + 1
38 if (nx + 2*nghost .gt. max1d)
then
41 if (level .gt. 1)
then
42 lratio = intratx(level-1)
46 nxl = (nxl/lratio)*lratio
51 node(levelptr,mptrnx) = node(levelptr,mptr)
52 node(levelptr,mptr) = mptrnx
54 rnode(cornxhi,mptr) = cxmid
55 node(ndihi,mptrnx) = node(ndihi,mptr)
56 node(ndihi,mptr) = node(ndilo,mptr) + nxl - 1
57 node(ndilo,mptrnx) = node(ndihi,mptr) + 1
58 node(ndjhi,mptrnx) = node(ndjhi,mptr)
59 node(ndjlo,mptrnx) = node(ndjlo,mptr)
61 rnode(cornxlo,mptrnx) = cxmid
62 rnode(cornylo,mptrnx) = cylo
63 rnode(cornyhi,mptrnx) = cyhi
64 rnode(cornxhi,mptrnx) = cxhi
65 rnode(timemult,mptrnx) = rnode(timemult,mptr)
66 node(nestlevel,mptrnx) = node(nestlevel,mptr)
73 else if (ny + 2*nghost .gt. max1d)
then
76 if (level .gt. 1)
then
77 lratio = intraty(level-1)
81 nyl = (nyl/lratio)*lratio
86 node(levelptr,mptrnx) = node(levelptr,mptr)
87 node(levelptr,mptr) = mptrnx
89 rnode(cornyhi,mptr) = cymid
91 node(ndjhi,mptrnx) = node(ndjhi,mptr)
92 node(ndjhi,mptr) = node(ndjlo,mptr) + nyl - 1
93 node(ndjlo,mptrnx) = node(ndjhi,mptr) + 1
94 node(ndihi,mptrnx) = node(ndihi,mptr)
95 node(ndilo,mptrnx) = node(ndilo,mptr)
97 rnode(cornxlo,mptrnx) = cxlo
98 rnode(cornylo,mptrnx) = cymid
99 rnode(cornyhi,mptrnx) = cyhi
100 rnode(cornxhi,mptrnx) = cxhi
101 node(nestlevel,mptrnx) = node(nestlevel,mptr)
102 rnode(timemult,mptrnx) = rnode(timemult,mptr)
108 mptr = node(levelptr,mptr)
109 if (mptr.ne.0) go to 10
integer function nodget()