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 33 of file delnumb6.F.

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