1 | SUBROUTINE ISTACK
|
---|
2 |
|
---|
3 | C-----------------------------------------------------------------------
|
---|
4 | C I(NITIALIZE) STACK
|
---|
5 | C
|
---|
6 | C PREPARES STACK AND EXTERNAL DISK FILE
|
---|
7 | C THIS SUBROUTINE IS CALLED FROM MAIN
|
---|
8 | C-----------------------------------------------------------------------
|
---|
9 |
|
---|
10 | IMPLICIT NONE
|
---|
11 | *KEEP,ETHMAP.
|
---|
12 | COMMON /ETHMAP/ ECTMAP,ELEFT
|
---|
13 | DOUBLE PRECISION ECTMAP,ELEFT
|
---|
14 | *KEEP,RUNPAR.
|
---|
15 | COMMON /RUNPAR/ FIXHEI,THICK0,HILOECM,HILOELB,
|
---|
16 | * STEPFC,NRRUN,NSHOW,PATAPE,MONIIN,
|
---|
17 | * MONIOU,MDEBUG,NUCNUC,
|
---|
18 | * CETAPE,
|
---|
19 | * SHOWNO,ISHW,NOPART,NRECS,NBLKS,MAXPRT,NDEBDL,
|
---|
20 | * N1STTR,MDBASE,
|
---|
21 | * DEBDEL,DEBUG,FDECAY,FEGS,FIRSTI,FIXINC,FIXTAR,
|
---|
22 | * FIX1I,FMUADD,FNKG,FPRINT,FDBASE
|
---|
23 | * ,GHEISH,GHESIG
|
---|
24 | COMMON /RUNPAC/ DSN,HOST,USER
|
---|
25 | DOUBLE PRECISION FIXHEI,THICK0,HILOECM,HILOELB
|
---|
26 | REAL STEPFC
|
---|
27 | INTEGER NRRUN,NSHOW,PATAPE,MONIIN,MONIOU,MDEBUG,NUCNUC,
|
---|
28 | * SHOWNO,ISHW,NOPART,NRECS,NBLKS,MAXPRT,NDEBDL,
|
---|
29 | * N1STTR,MDBASE
|
---|
30 | INTEGER CETAPE
|
---|
31 | CHARACTER*79 DSN
|
---|
32 | CHARACTER*20 HOST,USER
|
---|
33 |
|
---|
34 | LOGICAL DEBDEL,DEBUG,FDECAY,FEGS,FIRSTI,FIXINC,FIXTAR,
|
---|
35 | * FIX1I,FMUADD,FNKG,FPRINT,FDBASE
|
---|
36 | * ,GHEISH,GHESIG
|
---|
37 | *KEEP,STACKF.
|
---|
38 | COMMON /STACKF/ STACK,STACKP,EXST,NSHIFT,NOUREC,ICOUNT,NTO,NFROM
|
---|
39 | INTEGER MAXSTK
|
---|
40 | PARAMETER (MAXSTK = 12*340*2)
|
---|
41 | DOUBLE PRECISION STACK(MAXSTK)
|
---|
42 | INTEGER STACKP,EXST,NSHIFT,NOUREC,ICOUNT,NTO,NFROM
|
---|
43 | *KEND.
|
---|
44 |
|
---|
45 | C-----------------------------------------------------------------------
|
---|
46 |
|
---|
47 | IF ( DEBUG ) WRITE(MDEBUG,*) 'ISTACK:'
|
---|
48 |
|
---|
49 | NTO = 0
|
---|
50 | NFROM = 0
|
---|
51 | NOUREC = 0
|
---|
52 | NSHIFT = 0
|
---|
53 | STACKP = 0
|
---|
54 | ELEFT = 0.D0
|
---|
55 | ICOUNT = 1
|
---|
56 | RETURN
|
---|
57 | END
|
---|