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

Go to the source code of this file.

Functions/Subroutines

subroutine c_rwall (nprw, lprw, rwl, cep, proc, nslaw_l, neslaw_l, lwsav_l, nskyrw_l)

Function/Subroutine Documentation

◆ c_rwall()

subroutine c_rwall ( integer, dimension(*) nprw,
integer, dimension(*) lprw,
rwl,
integer, dimension(*) cep,
integer proc,
integer nslaw_l,
integer neslaw_l,
integer lwsav_l,
integer nskyrw_l )

Definition at line 31 of file c_rwall.F.

34C-----------------------------------------------
35C M o d u l e s
36C-----------------------------------------------
37
38C-----------------------------------------------
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "com01_c.inc"
46#include "com04_c.inc"
47#include "param_c.inc"
48C-----------------------------------------------
49C D u m m y A r g u m e n t s
50C-----------------------------------------------
51 INTEGER PROC, NSLAW_L, NESLAW_L, LWSAV_L,
52 . NSKYRW_L,
53 . LPRW(*), NPRW(*),
54 . CEP(*)
56 . rwl(nrwlp,*)
57C-----------------------------------------------
58C F u n c t i o n
59C-----------------------------------------------
60 INTEGER NLOCAL
61 EXTERNAL nlocal
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 INTEGER NSL, I, K, KK, N, NN, N1, N2, N3, N4, IE, NE, ITY, ILW,
66 . NSL_L, IFQ, MSR
67C
68 nslaw_l = 0
69 nskyrw_l= 0
70 neslaw_l= 0
71 lwsav_l = 0
72 k = 0
73 DO n = 1, nrwall
74 n2=n +nrwall
75 n3=n2+nrwall
76 n4=n3+nrwall
77 nsl=nprw(n)
78 msr = nprw(n3)
79 ity=nprw(n4)
80 nsl_l=0
81 DO kk = 1, nsl
82 nn = lprw(k+kk)
83 IF(nlocal(nn,proc+1)==1)THEN
84 nsl_l = nsl_l + 1
85 ENDIF
86 ENDDO
87 nslaw_l = nslaw_l + nsl_l
88C espace memoire P/ON
89 IF(ipari0/=0.AND.msr/=0) nskyrw_l = nskyrw_l + nsl_l
90 k = k + nsl
91C
92 ifq = nint(rwl(15,n))
93 IF(ifq>0) THEN
94 lwsav_l = lwsav_l + nsl_l
95 ENDIF
96C
97 IF(ity==-1)THEN
98 ne = nint(rwl(8,n))
99 IF(ne/=0) THEN
100 DO kk = 1, ne
101 ie = lprw(k+kk)/10
102C IR = LPRW(K+KK)-10*IE
103 IF(cep(ie)==proc)THEN
104 neslaw_l = neslaw_l+1
105 ENDIF
106 ENDDO
107 k = k + ne
108 ENDIF
109 ENDIF
110 ENDDO
111C
112 RETURN
#define my_real
Definition cppsort.cpp:32
integer function nlocal(n, p)
Definition ddtools.F:349