6 subroutine conck(level, nvar, naux, time, rest)
9 implicit double precision (a-h,o-z)
18 iadd(ivar,i,j) = loc + ivar - 1 + nvar*((j-1)*mitot+i-1)
19 iaddaux(i,j) = locaux +
mcapa - 1 + naux*(i-1) +
39 20
if (mptr .eq. 0)
go to 85
47 if (
mcapa .eq. 0)
then 63 85 totmass = totmass * hx * hy
64 if (time.eq.
t0 .and. (level.eq.1) .and. .not. rest)
then 66 write(6,*)
'Total mass at initial time: ',
tmass0 69 777
format(
'time t = ',e12.5,
', total mass = ',e22.15,
' diff = ',
real(kind=8), dimension(maxlv) hyposs
real(kind=8), dimension(maxlv) hxposs
subroutine conck(level, nvar, naux, time, rest)
Conservation check for specified level.
integer, parameter ndihi
global i index of right border of this grid
integer, dimension(nsize, maxgr) node
integer pure function iadd(ivar, i, j)
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, dimension(maxlv) lstart
integer, parameter outunit
real(kind=8), dimension(maxlv) possk
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
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
real(kind=8), dimension(:), allocatable alloc