4 subroutine spest2 (nvar,naux,lcheck,start_time)
7 implicit double precision (a-h,o-z)
9 integer omp_get_thread_num, omp_get_max_threads
10 integer mythread/0/, maxthreads/1/
48 locbig =
igetsp(mitot*mjtot*nvar)
54 if (start_time+
possk(lcheck) .ne. time)
then 55 do 10 i = 1, mitot*mjtot*nvar
62 do 11 i = 1, mitot*mjtot*nvar
77 locamrflags =
igetsp(mibuff*mjbuff)
80 do 20 i = 1, mibuff*mjbuff
integer, parameter timemult
current simulation time on this grid
integer, parameter cornxlo
x-coordinate of the left border of this grid
function igetsp(nwords)
Allocate contiguous space of length nword in main storage array alloc.
integer, parameter tempptr
temporary pointer
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(nsize, maxgr) node
real(kind=8), parameter goodpt
integer, dimension(maxlv) numgrids
real(kind=8), dimension(rsize, maxgr) rnode
integer, parameter storeflags
pointer to the address of memory storing flags for refinement on this grid
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, parameter store1
pointer to the address of memory storing the first copy of solution data on this grid, usually for storing new solution
integer, parameter store2
pointer to the address of memory storing the second copy of solution data on this grid...
subroutine flag2refine2(mx, my, mbc, mbuff, meqn, maux, xlower, ylower, dx, dy, t, level, tolsp, q, aux, amrflags, DONTFLAG, DOFLAG)
User routine to control flagging of points for refinement.
real(kind=8), parameter badpt
subroutine prepgrids(listgrids, num, level)
real(kind=8), dimension(maxlv) possk
integer, parameter ndjhi
global j index of upper border of this grid
subroutine bound(time, nvar, ng, valbig, mitot, mjtot, mptr, aux, naux)
This routine sets the boundary values for a given grid at level level.
integer, parameter cornylo
y-coordinate of the lower border of this grid
The module contains the definition of a "node descriptor" as well as other global variables used duri...
integer, parameter storeaux
pointer to the address of memory storing auxiliary data on this grid
subroutine spest2(nvar, naux, lcheck, start_time)
real(kind=8), dimension(:), allocatable alloc