1 |
pam-fi |
1.1 |
C------------------------------------------------ |
2 |
|
|
FUNCTION OPENLEV2() |
3 |
|
|
C------------------------------------------------ |
4 |
|
|
|
5 |
|
|
C |
6 |
|
|
INCLUDE './common/common_c2f.f' |
7 |
|
|
INCLUDE './common/common_level2.f' |
8 |
|
|
C |
9 |
|
|
parameter (lun=1) |
10 |
|
|
parameter (mem=4096) |
11 |
|
|
integer istat |
12 |
|
|
C |
13 |
|
|
runntp = 1 |
14 |
|
|
trkntp = 2 |
15 |
|
|
tofntp = 3 |
16 |
|
|
calontp = 4 |
17 |
|
|
trigntp = 5 |
18 |
|
|
acntp = 6 |
19 |
|
|
s4ntp = 7 |
20 |
|
|
ndntp = 8 |
21 |
|
|
orbntp = 9 |
22 |
|
|
C |
23 |
|
|
CALL HLIMIT(10000000) |
24 |
|
|
c Iquest(10) = 256000 |
25 |
|
|
Iquest(10) = 512000 |
26 |
|
|
C |
27 |
|
|
call HROPEN(lun,'LEVEL2',path,'NP',mem,istat) |
28 |
|
|
if(istat.ne.0) print*,' ERROR file: ',path, |
29 |
|
|
& ' not open' |
30 |
|
|
|
31 |
|
|
RETURN |
32 |
|
|
END |
33 |
|
|
C------------------------------------------------ |
34 |
|
|
|
35 |
|
|
C------------------------------------------------ |
36 |
|
|
FUNCTION CLOSELEV2() |
37 |
|
|
C------------------------------------------------ |
38 |
|
|
|
39 |
|
|
INCLUDE './common/common_c2f.f' |
40 |
|
|
|
41 |
|
|
call HCDIR('//LEVEL2',' ') |
42 |
|
|
call HREND('LEVEL2') |
43 |
|
|
CLOSE (lun) |
44 |
|
|
|
45 |
|
|
RETURN |
46 |
|
|
END |
47 |
|
|
C------------------------------------------------ |
48 |
|
|
|
49 |
|
|
|