OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
delnumb6.F File Reference
#include "implicit_f.inc"
#include "com01_c.inc"
#include "com04_c.inc"
#include "sphcom.inc"
#include "param_c.inc"
#include "task_c.inc"
#include "spmd_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine delnumbs (iparg, ixs, el2fa, nbf, inum, dd_iad, iadd, nbpart, iadg, kxsp, isph3d)

Function/Subroutine Documentation

◆ delnumbs()

subroutine delnumbs ( integer, dimension(nparg,*) iparg,
integer, dimension(nixs,*) ixs,
integer, dimension(*) el2fa,
integer nbf,
integer, dimension(*) inum,
integer, dimension(nspmd+1,*) dd_iad,
integer, dimension(*) iadd,
integer nbpart,
integer, dimension(nspmd,*) iadg,
integer, dimension(nisp,*) kxsp,
integer isph3d )

Definition at line 31 of file delnumb6.F.

34C=======================================================================
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C C o m m o n B l o c k s
40#include "com01_c.inc"
41#include "com04_c.inc"
42#include "sphcom.inc"
43#include "param_c.inc"
44#include "task_c.inc"
45#include "spmd_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49C REAL
50 INTEGER IPARG(NPARG,*),
51 . IXS(NIXS,*),EL2FA(*),INUM(*),
52 . NBF,IADG(NSPMD,*),KXSP(NISP,*)
53 INTEGER DD_IAD(NSPMD+1,*), IADD(*), NBPART,
54 . ISPH3D
55C-----------------------------------------------
56 INTEGER NG, ITY, LFT, LLT, N, I, J, NEL, IAD, NFT,
57 . NN1,NN2,NN3,NN4,NN5,NN6,NN7,NN8,NN9,NN10, ISOLNOD,
58 . BUF
59C-----------------------------------------------
60C
61 nn1 = 1
62 nn2 = 1
63 nn3 = nn2 + numels
64 nn4 = nn3 + isph3d*(numsph+maxpjet)
65 nn5 = nn4 + numelig3d
66C
67 DO 490 ng=1,ngroup
68 nel =iparg(2,ng)
69 nft =iparg(3,ng)
70 iad =iparg(4,ng)
71 ity =iparg(5,ng)
72 isolnod = iparg(28,ng)
73 lft=1
74 llt=nel
75C-----------------------------------------------
76C SOLIDES 16N
77C-----------------------------------------------
78 IF(ity==1.AND.isolnod==16)THEN
79 DO i=lft,llt
80 n = i + nft
81 IF(el2fa(nn2+n)/=0)THEN
82 inum(el2fa(nn2+n)) = ixs(nixs,n)
83 inum(el2fa(nn2+n)+1) = ixs(nixs,n)
84 inum(el2fa(nn2+n)+2) = ixs(nixs,n)
85 inum(el2fa(nn2+n)+3) = ixs(nixs,n)
86 ENDIF
87 ENDDO
88C-----------------------------------------------
89C AUTRES SOLIDES
90C-----------------------------------------------
91 ELSEIF(ity==1)THEN
92 DO i=lft,llt
93 n = i + nft
94 IF(el2fa(nn2+n)/=0)THEN
95 inum(el2fa(nn2+n)) = ixs(nixs,n)
96 ENDIF
97 ENDDO
98 ELSEIF(isph3d==1.AND.ity==51)THEN
99C-----------------------------------------------
100C TETRAS SPH.
101C-----------------------------------------------
102 DO i=lft,llt
103 n = i + nft
104 IF(el2fa(nn3+n)/=0)THEN
105 inum(el2fa(nn3+n)) = kxsp(nisp,n)
106 ENDIF
107 ENDDO
108 ELSEIF(ity==101)THEN
109C-----------------------------------------------
110C ISO ELEMS
111C-----------------------------------------------
112 DO i=lft,llt
113 n = i + nft
114 IF(el2fa(nn4+n)/=0)THEN
115 DO j=1,27
116 inum(el2fa(nn4+n)+j-1) = 1000000000 + 27*(n-1) + j
117 ENDDO
118 ENDIF
119 ENDDO
120 ELSE
121 ENDIF
122 490 CONTINUE
123C-----------------------------------------------
124 IF (nspmd == 1) THEN
125 CALL write_i_c(inum,nbf)
126 ELSE
127
128 IF (ispmd==0) THEN
129 buf = numelsg + 3*numels16g + numsphg + 27* numelig3d
130 ELSE
131 buf = 1
132 ENDIF
133
134 CALL spmd_iget_partn(1,nbf,inum,nbpart,iadg,buf,1)
135 ENDIF
136C-----------------------------------------------
137C
138 RETURN
subroutine spmd_iget_partn(size, nbf_l, np, nbpart, iadg, srbuf, iflag)
void write_i_c(int *w, int *len)