| 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 |
C parameter (mem=4096) |
| 11 |
parameter (mem=6144) |
| 12 |
integer istat |
| 13 |
C |
| 14 |
runntp = 1 |
| 15 |
trkntp = 2 |
| 16 |
tofntp = 3 |
| 17 |
calontp = 4 |
| 18 |
trigntp = 5 |
| 19 |
acntp = 6 |
| 20 |
s4ntp = 7 |
| 21 |
ndntp = 8 |
| 22 |
orbntp = 9 |
| 23 |
C |
| 24 |
CALL HLIMIT(10000000) |
| 25 |
Iquest(10) = 512000 |
| 26 |
C |
| 27 |
call HROPEN(lun,'LEVEL2',path,'NPQE',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 |
|