2D AMRCLAW
basic.f
Go to the documentation of this file.
1 c
2 c ------------------------------------------------------
3 c
4  subroutine basic (time,lst,lend)
5 c
6  use amr_module
7  implicit double precision (a-h,o-z)
8 
9 c
10 c :::::::::::::::::::::: BASIC :::::::::::::::::::::::::
11 c basic = outputs basic information needed by the other graphics
12 c output routines (valout) at the given time,
13 c write the entire levellist, from level 1 to lfine,
14 c and the tree structure from level lst to lend.
15 c :::::::::::::::::::::::::::::;::::::::::::::::::::::::
16 c
17  write(pltunit1,100) time
18 100 format(8h*time = ,f10.5)
19  write(pltunit1,101) lfine, (lstart(i),i=1,lfine), nghost
20 101 format(10i6)
21  write(pltunit1,105) xupper,yupper,xlower,ylower
22 105 format(4e15.8)
23  write(pltunit1,102) lst, lend
24 102 format(2i6)
25  write(pltunit1,106)(hxposs(i),i=1,lfine)
26  write(pltunit1,106)(hyposs(i),i=1,lfine)
27 106 format(6e15.8)
28 c
29  level = lst
30  10 if (level .gt. lend) go to 99
31  mptr = lstart(level)
32  20 if (mptr .eq. 0) go to 30
33  write(pltunit1,103) mptr, (node(i,mptr),i=1,nsize)
34  write(pltunit1,104) (rnode(i,mptr),i=1,rsize)
35 103 format(10i7)
36 104 format(5e15.8)
37  mptr = node(levelptr,mptr)
38  go to 20
39  30 level = level + 1
40  go to 10
41 c
42  99 return
43  end
subroutine basic(time, lst, lend)
Definition: basic.f:4