OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i2_prem.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine i2_prem (ipari, khie, ni2, ii2, nsmax)

Function/Subroutine Documentation

◆ 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.

29C-----------------------------------------------
30C I m p l i c i t T y p e s
31C-----------------------------------------------
32#include "implicit_f.inc"
33C-----------------------------------------------
34C C o m m o n B l o c k s
35C-----------------------------------------------
36#include "com04_c.inc"
37#include "param_c.inc"
38C-----------------------------------------------
39C D u m m y A r g u m e n t s
40C-----------------------------------------------
41 INTEGER IPARI(NPARI,*), NI2,II2(*),NSMAX
42 INTEGER KHIE
43C REAL
44C-----------------------------------------------
45C L o c a l V a r i a b l e s
46C-----------------------------------------------
47 INTEGER N, NTY,NSN
48C-----------------------------------------------
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