#include "implicit_f.inc"
#include "com04_c.inc"
#include "param_c.inc"
Go to the source code of this file.
|
| subroutine | i2_prem (ipari, khie, ni2, ii2, nsmax) |
◆ i2_prem()
| subroutine i2_prem |
( |
integer, dimension(npari,*) | ipari, |
|
|
integer | khie, |
|
|
integer | ni2, |
|
|
integer, dimension(*) | ii2, |
|
|
integer | nsmax ) |
Definition at line 28 of file i2_prem.F.
29
30
31
32#include "implicit_f.inc"
33
34
35
36#include "com04_c.inc"
37#include "param_c.inc"
38
39
40
41 INTEGER IPARI(NPARI,*), NI2,II2(*),NSMAX
42 INTEGER KHIE
43
44
45
46
47 INTEGER N, NTY,NSN
48
49 DO 200 n=ninter,1,-1
50 nty =ipari(7,n)
51 IF(nty==2.AND.ipari(26,n)==khie) THEN
52 nsn = ipari(5,n)
53 IF (nsn>0) THEN
54 ni2=ni2+1
55 ii2(ni2)=n
56 nsmax=nsmax+nsn
57 ENDIF
58 ENDIF
59 200 CONTINUE
60 RETURN