This routine is called because regridding just changed the fine grids.
14 implicit double precision (a-h,o-z)
31 10
if (mkid .eq. 0)
go to 20
34 maxsp = maxsp + 2*(ikeep+jkeep)
38 if (maxsp .eq. 0)
go to 99
48 30
if (mpar .eq. 0)
go to 99
58 35
alloc(locbc+i-1) = 0.d0
62 40
if (mkid .eq. 0)
go to 60
77 if (iplo .le. iphi+1 .and. jplo .le. jphi+1)
then 80 2 ilo,ihi,jlo,jhi,iclo,ichi,jclo,jchi,kflag)
84 if (
xperdom .and. ilo .eq. 0 .and. ichi .eq. imax)
then 92 if (
xperdom .and. iclo .eq. 0 .and. ihi .eq. imax)
then 100 if (
yperdom .and. jlo .eq. 0 .and. jchi .eq. jmax)
then 103 2 ilo,ihi,jlo,jhi,iclo,ichi,
108 if (
yperdom .and. jclo .eq. 0 .and. jhi .eq. jmax)
then 111 2 ilo,ihi,jlo,jhi,iclo,ichi,
117 if (
spheredom .and. jhi .eq. jmax .and. jchi .eq. jmax)
then 120 iwrap2 =
iregsz(level) - iclo - 1
121 iwrap1 =
iregsz(level) - ichi - 1
122 if (max(ilo,iwrap1) .le. min(ihi,iwrap2))
then 124 1 ilo,ihi,jlo,jhi,iclo,ichi,
131 if (
spheredom .and. jclo .eq. 0 .and. jlo .eq. 0)
then 133 iwrap2 =
iregsz(level) - iclo - 1
134 iwrap1 =
iregsz(level) - ichi - 1
135 if (max(ilo,iwrap1) .le. min(ihi,iwrap2))
then 137 1 ilo,ihi,jlo,jhi,iclo,ichi,
function igetsp(nwords)
Allocate contiguous space of length nword in main storage array alloc.
integer, dimension(maxlv) iregsz
real(kind=8), dimension(maxlv) hyposs
real(kind=8), dimension(maxlv) hxposs
integer, parameter ndihi
global i index of right border of this grid
integer, dimension(maxlv) jregsz
integer, dimension(nsize, maxgr) node
integer, parameter ndilo
global i index of left border of this grid
integer, parameter ndjlo
global j index of lower border of this grid
integer, dimension(maxlv) lstart
integer, dimension(maxlv) intraty
integer, parameter ndjhi
global j index of upper border of this grid
integer, dimension(maxlv) listsp
integer, dimension(maxlv) intratx
integer, parameter levelptr
node number (index) of next grid on the same level
subroutine setuse(listbc, maxsp, ispot, mkid, ilo, ihi, jlo, jhi, iclo, ichi, jclo, jchi, kflag)
Add intersection information between grid mptr and a finer grid mkid to the boundary list...
The module contains the definition of a "node descriptor" as well as other global variables used duri...
integer, parameter cfluxptr
Pointer to an 5 by maxsp array, which has boundary information for this grid.
real(kind=8), dimension(:), allocatable alloc