3 subroutine outval(val,nvar,mitot,mjtot,mptr,outgrd,naux,aux)
7 implicit double precision (a-h,o-z)
9 dimension val(nvar,mitot,mjtot)
10 dimension aux(naux,mitot,mjtot)
20 if (.not. outgrd) go to 99
21 level = node(nestlevel,mptr)
24 cornx = rnode(cornxlo,mptr) - nghost*hx
25 corny = rnode(cornylo,mptr) - nghost*hy
27 do 25 j=nghost+1,mjtot-nghost
28 do 20 i=nghost+1,mitot-nghost
30 x = cornx + hx*(dble(i)-.5d0)
31 y = corny + hy*(dble(j)-.5d0)
32 write(outunit,107) x,y,i,j,(val(ivar,i,j),ivar=1,nvar)
33 107
format(2hx=,f6.3,2hy=,f6.3,3h,i=,i3,3h,j=,i3,
' a=',
36 if (naux.gt.0)
write(outunit,108) (aux(iaux,i,j),iaux=1,naux)
37 108
format(1x,
'aux = ',7(e10.3,1x))
subroutine outval(val, nvar, mitot, mjtot, mptr, outgrd, naux, aux)