10 subroutine outtre(mlev,outgrd,nvar,naux)
13 implicit double precision (a-h,o-z)
28 1
format(1x,14hthe subtree is)
31 10
if (level .gt.
lfine)
go to 99
33 20
if (mptr .eq. 0)
go to 30
34 call outmsh(mptr,outgrd,nvar,naux)
40 2
format(/,i5,
" grids at level ",i5,
" go from ",2i9,
" to",2i9,/)
54 subroutine outlev(mlev,outgrd,nvar,naux)
57 implicit double precision (a-h,o-z)
72 1
format(1x,
"the partially built new subtree is:")
75 20
if (mptr .eq. 0)
go to 30
76 call outmsh(mptr,outgrd,nvar,naux)
integer, dimension(nsize, maxgr) node
integer, dimension(maxlv) iregst
integer, parameter nestlevel
AMR level of the grid.
integer, dimension(maxlv) numgrids
integer, dimension(maxlv) jregst
integer, dimension(maxlv) lstart
subroutine outlev(mlev, outgrd, nvar, naux)
Output all grids on the same level as grid mlev.
integer, parameter outunit
integer, dimension(maxlv) jregend
subroutine outtre(mlev, outgrd, nvar, naux)
Output a subtree of the grids.
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, dimension(maxlv) iregend
subroutine outmsh(mptr, outgrd, nvar, naux)
Output the grid descriptor of grid mptr and optionally the values on the grid (for a single grid - se...