source: trunk/examples/extended/electromagnetic/TestEm3/geant3/g4mat/src/main.F@ 1036

Last change on this file since 1036 was 807, checked in by garnier, 17 years ago

update

File size: 954 bytes
Line 
1#ifdef batch
2
3 PROGRAM main
4*
5*
6 PARAMETER (NGBANK=100000, NHBOOK=10000)
7 COMMON/GCBANK/Q(NGBANK)
8 COMMON/PAWC /H(NHBOOK)
9*
10 CALL GZEBRA( NGBANK)
11 CALL HLIMIT(-NHBOOK)
12*
13* *** initialize HIGZ
14 CALL HPLINT(0)
15*
16* *** GEANT initialisation
17 CALL UGINIT
18*
19* *** End of RUN
20 CALL UGLAST
21*
22 STOP
23 END
24
25#else
26
27 PROGRAM main
28*
29* GEANT main program. To link with the MOTIF user interface
30* the routine GPAWPP(NWGEAN,NWPAW) should be called, whereas
31* the routine GPAW(NWGEAN,NWPAW) gives access to the basic
32* graphics version.
33*
34 PARAMETER (NWGEAN=3000000, NWPAW=1000000)
35 COMMON/GCBANK/GEANT(NWGEAN)
36 COMMON/PAWC /PAW (NWPAW)
37*
38*
39 CALL GPAW (NWGEAN,NWPAW)
40*
41 END
42*
43 SUBROUTINE qnext
44 END
45*
46 SUBROUTINE czopen
47 END
48*
49 SUBROUTINE cztcp
50 END
51*
52 SUBROUTINE czclos
53 END
54*
55 SUBROUTINE czputa
56 END
57
58#endif
Note: See TracBrowser for help on using the repository browser.