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

Go to the source code of this file.

Functions/Subroutines

subroutine w_iloadp (iloadp, lloadp, nodlocal, proc, llloadp_l, len_ia, p, cep, itab, numconv, numradia, nfxflux)

Function/Subroutine Documentation

◆ w_iloadp()

subroutine w_iloadp ( integer, dimension(sizloadp,*) iloadp,
integer, dimension(*) lloadp,
integer, dimension(*) nodlocal,
integer proc,
integer llloadp_l,
integer len_ia,
integer p,
integer, dimension(*) cep,
integer, dimension(numnod), intent(in) itab,
integer, intent(in) numconv,
integer, intent(in) numradia,
integer, intent(in) nfxflux )

Definition at line 29 of file w_iloadp.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C C o m m o n B l o c k s
38C-----------------------------------------------
39#include "com04_c.inc"
40C-----------------------------------------------
41C D u m m y A r g u m e n t s
42C-----------------------------------------------
43 INTEGER ,INTENT(IN) :: NUMCONV
44 INTEGER ,INTENT(IN) :: NUMRADIA
45 INTEGER ,INTENT(IN) :: NFXFLUX
46 INTEGER PROC, LEN_IA, LLLOADP_L,P,
47 . ILOADP(SIZLOADP,*), LLOADP(*),NODLOCAL(*),
48 . CEP(*)
49 INTEGER,INTENT(IN) :: ITAB(NUMNOD)
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53 INTEGER I, J, IAD, IADL, NL, N, NLL, NN, IGRTMP(SIZLOADP,NLOADP),
54 . LGRTMP(LLLOADP_L),OFF,N1,N2,N3,N4
55C-----------------------------------------------
56C S o u r c e L i n e s
57C-----------------------------------------------
58 off = numelc+numeltg+numels+numelq+numelt+numelp+numelr+numelx+nconld+numconv+numradia+nfxflux
59 iadl = 1
60 DO i = 1, nloadp
61 nl = iloadp(1,i)
62 iad= iloadp(4,i)
63 DO j = 1, sizloadp
64 igrtmp(j,i) = iloadp(j,i)
65 ENDDO
66 nll = 0
67 DO j = 1, nl/4
68 n1= lloadp(iad+(j-1)*4)
69 n2= lloadp(iad+(j-1)*4+1)
70 n3= lloadp(iad+(j-1)*4+2)
71 n4= lloadp(iad+(j-1)*4+3)
72 IF(cep(j+off)==proc) THEN
73 lgrtmp(iadl+nll) = nodlocal(n1)
74 lgrtmp(iadl+nll+1) = nodlocal(n2)
75 lgrtmp(iadl+nll+2) = nodlocal(n3)
76 IF (n4 == 0) THEN
77 lgrtmp(iadl+nll+3) = 0
78 ELSE
79 lgrtmp(iadl+nll+3) = nodlocal(n4)
80 ENDIF
81 nll = nll + 4
82 ENDIF
83 ENDDO
84 igrtmp(1,i) = nll
85 igrtmp(4,i) = iadl
86 iadl = iadl+nll
87 off = off + nl/4
88 ENDDO
89
90 CALL write_i_c(igrtmp,sizloadp*nloadp)
91 CALL write_i_c(lgrtmp,llloadp_l)
92 len_ia = len_ia + sizloadp*nloadp + iadl-1
93
94 RETURN
character *2 function nl()
Definition message.F:2354
void write_i_c(int *w, int *len)