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

Go to the source code of this file.

Functions/Subroutines

subroutine c_iloadp (iloadp, lloadp, llloadp_l, proc)

Function/Subroutine Documentation

◆ c_iloadp()

subroutine c_iloadp ( integer, dimension(sizloadp,*) iloadp,
integer, dimension(*) lloadp,
integer llloadp_l,
integer proc )

Definition at line 31 of file c_iloadp.F.

32C-----------------------------------------------
33C M o d u l e s
34C-----------------------------------------------
35
36C-----------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "com04_c.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER PROC, LLLOADP_L,
48 . ILOADP(SIZLOADP,*), LLOADP(*)
49C-----------------------------------------------
50C F u n c t i o n
51C-----------------------------------------------
52 INTEGER NLOCAL
53 EXTERNAL nlocal
54C-----------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 INTEGER I, J, IAD, NL, N, ILP
58C
59 ilp = 0
60 DO i = 1, nloadp
61 nl = iloadp(1,i)
62 iad= iloadp(4,i)
63 DO j = 1, nl
64 n = abs(lloadp(iad+j-1))
65 IF (n == 0)THEN
66 ilp = ilp + 1
67 ELSEIF (nlocal(n,proc+1)==1)THEN
68 ilp = ilp + 1
69 ENDIF
70 ENDDO
71 ENDDO
72C
73 llloadp_l = ilp
74C
75 RETURN
integer function nlocal(n, p)
Definition ddtools.F:349
character *2 function nl()
Definition message.F:2354