7 implicit double precision (a-h,o-z)
31 locdomflags =
igetsp( (mibuff*mjbuff)/ibytesperdp+1)
32 locdom2 =
igetsp( (mibuff*mjbuff)/ibytesperdp+1)
38 . mbuff,lbase,lcheck,mibuff,mjbuff)
41 if (mptr .ne. 0)
go to 10
function igetsp(nwords)
Allocate contiguous space of length nword in main storage array alloc.
subroutine domgrid(lbase, lcheck)
integer, parameter ndihi
global i index of right border of this grid
integer, dimension(nsize, maxgr) node
integer, parameter domflags_base
domain flags, indexed within base level (lbase) index space
integer, parameter domflags2
domain flags, indexed within level-of-this-grid level index space
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, parameter ndjhi
global j index of upper border of this grid
integer, parameter levelptr
node number (index) of next grid on the same level
subroutine setdomflags(mptr, igridflags, ilo, ihi, jlo, jhi, mbuff, lbase, lcheck, mibuff, mjbuff)
set domain flags (not AMR flags) for grid mptr (only), enlarged by buffer zone.
The module contains the definition of a "node descriptor" as well as other global variables used duri...
real(kind=8), dimension(:), allocatable alloc