32 SUBROUTINE parsors(IADD ,IPARG ,IXS ,MATER ,IPARTS ,
34 3 IADG ,INSPH ,KXSP ,IPARTSP,
35 4 IXS10 ,IXS20 ,IXS16 ,NNSPH ,ISPH3D,
36 5 NODGLOB,SHFT16 ,SHFTSPH ,NNSPHG,IPARTIG3D,
37 6 KXIG3D,IGEO,IG3DSOLID)
41#include "implicit_f.inc"
55 INTEGER IADD(*),IPARG(,*),IXS(NIXS,*),
56 . MATER(*),EL2FA(*),IPARTS(*),
59 . INSPH,KXSP(NISP,*),IPARTSP(*),
60 . ixs10(6,*) ,ixs16(8,*) ,ixs20(12,*) ,nnsph,
61 . isph3d,nodglob(*),shft16,shftsph ,nnsphg,ipartig3d(*),
63 . igeo(npropgi,*),ig3dsolid(8,27,*)
68 INTEGER II(8),IE,NG, ITY, LFT, LLT, KPT, N, I, J,
69 . IPID, NEL, IAD, NPAR, NFT, IPRT,IALEL,MTN,
70 . NN1,NN2,NN3,NN4,NN5,NN6,NN7,,NN9,NN10,
71 . jj, k, inod, isolnod ,nnn,ie1,idbrick,
72 . n9,n10,n11,n12,n13,n14,n15,n16,iprop,px,py,pz
73 INTEGER BUF,BUFP,FIRST_NODE,L,M
74 INTEGER,
DIMENSION(:),
ALLOCATABLE :: NP
77 ALLOCATE(NP(NUMELS*8+24*NUMELS16+NUMSPH*8))
81 nn4 = nn3 + isph3d*(numsph+maxpjet)
90 DO 100 iprt = 1 , npart
92 IF(mater(iprt)/=2)
GOTO 100
100 isolnod = iparg(28,ng)
106 nnn = insph + isph3d*nnsph
107 IF(ity==1.AND.isolnod==16)
THEN
110 j = n - numels8 - numels10 - numels20
112 IF( n9==0) n9=ixs(2,n)
114 IF(n10==0)n10=ixs(3,n)
116 IF(n11==0)n11=ixs(4,n)
118 IF(n12==0)n12=ixs(5,n)
120 IF(n13==0)n13=ixs(6,n)
122 IF(n14==0)n14=ixs(7,n)
124 IF(n15==0)n15=ixs(8,n)
126 IF(n16==0)n16=ixs(9,n)
127 IF(iparts(n)==iprt)
THEN
131 ii(3) = nnn + 2*j-1 -1
141 ii(4) = nnn + 2*j-1 -1
148 ii(2) = nnn + 2*j-1 -1
156 ii(1) = nnn + 2*j-1 -1
166 np(jj+1) = nodglob(ixs(2,n))-1
167 np(jj+2) = nodglob(n9) -1
168 np(jj+3) = (shft16-1) + 2*j-1 -1
169 np(jj+4) = nodglob(n12) -1
170 np(jj+5) = nodglob(ixs(6,n))-1
171 np(jj+6) = nodglob(n13) -1
172 np(jj+7) = (shft16-1) + 2*j -1
173 np(jj+8) = nodglob(n16)-1
175 np(jj+9) = nodglob(n9) -1
176 np(jj+10) = nodglob(ixs(3,n))-1
177 np(jj+11) = nodglob(n10) -1
178 np(jj+12) = (shft16-1) + 2*j-1 -1
179 np(jj+13) = nodglob(n13) -1
180 np(jj+14) = nodglob(ixs(7,n))-1
181 np(jj+15) = nodglob(n14)-1
182 np(jj+16) = (shft16-1) + 2*j -1
184 np(jj+17) = nodglob(n12) -1
185 np(jj+18) = (shft16-1) + 2*j-1 -1
186 np(jj+19) = nodglob(n11) -1
187 np(jj+20) = nodglob(ixs(5,n)) -1
188 np(jj+21) = nodglob(n16) -1
189 np(jj+22) = (shft16-1) + 2*j -1
190 np(jj+23) = nodglob(n15)-1
191 np(jj+24) = nodglob(ixs(9,n))-1
193 np(jj+25) = (shft16-1) + 2*j-1 -1
194 np(jj+26) = nodglob(n10) -1
195 np(jj+27) = nodglob(ixs(4,n)) -1
196 np(jj+28) = nodglob(n11) -1
197 np(jj+29) = (shft16-1) + 2*j -1
198 np(jj+30) = nodglob(n14)-1
199 np(jj+31) = nodglob(ixs(8,n))-1
226 np(jj+1) = nodglob(ixs(2,n))-1
227 np(jj+2) = nodglob(ixs(3,n))-1
228 np(jj+3) = nodglob(ixs(4,n))-1
229 np(jj+4) = nodglob(ixs(5,n))-1
230 np(jj+5) = nodglob(ixs(6,n))-1
231 np(jj+6) = nodglob(ixs(7,n))-1
232 np(jj+7) = nodglob(ixs(8,n))-1
233 np(jj+8) = nodglob(ixs(9,n))-1
239 ELSEIF(isph3d==1.AND.ity==51)
THEN
245 IF(ipartsp(n)/=iprt)
GOTO 20
248 ii(1) = insph+4*(n-1)+1
249 ii(2) = insph+4*(n-1)+2
250 ii(3) = insph+4*(n-1)
251 ii(4) = insph+4*(n-1)+1
252 ii(5) = insph+4*(n-1)+3
253 ii(6) = insph+4*(n-1)+2
254 ii(7) = insph+4*(n-1)+3
258 np(jj+1) = shftsph-1+4*(n-1)+1
259 np(jj+2) = shftsph-1+4*(n-1)+2
260 np(jj+3) = shftsph-1+4*(n-1)
261 np(jj+4) = shftsph-1+4*(n-1)+1
262 np(jj+5) = shftsph-1+4*(n-1)+3
263 np(jj+6) = shftsph-1+4*(n-1)+2
264 np(jj+7) = shftsph-1+4*(n-1)+3
265 np(jj+8) = nodglob(inod)-1
276 iprop = kxig3d(2,i+nft)
280 IF(ipartig3d(i+nft)/=iprt)
GOTO 30
286 idbrick = idbrick + 1
287 ii(1) = ig3dsolid(1,idbrick,i+nft)
288 ii(2) = ig3dsolid(2,idbrick,i+nft)
289 ii(3) = ig3dsolid(3,idbrick,i+nft)
290 ii(4) = ig3dsolid(4,idbrick,i+nft)
291 ii(5) = ig3dsolid(5,idbrick,i+nft)
292 ii(6) = ig3dsolid(6,idbrick,i+nft)
293 ii(7) = ig3dsolid(7,idbrick,i+nft)
294 ii(8) = ig3dsolid(8,idbrick,i+nft)
301 el2fa(nn4+i+nft) = ie1
315 buf = numelsg*8 + 24*numels16g+numsphg*8 +64*numelig3d