36 1 NELES ,IXS ,IXS16 ,IXS20 ,NELEM ,
37 2 NME ,LWAT ,NMES ,CAND_E ,CAND_N ,
38 3 NOINT ,I_STOK_GLOB,TZINF ,MINBOX ,EMINXM ,
39 4 XSAV ,ITASK ,X ,V ,A ,
40 5 MX_CAND ,EMINXS ,ESH_T ,FROTS ,KS ,
41 6 NIN ,NMESR ,NB_N_B ,BMINMA )
46 use element_mod ,
only : nixs
50#include "implicit_f.inc"
59 INTEGER NME, NMES, NOINT,ITASK,MX_CAND,
60 . ESH_T, I_STOK_GLOB, NIN, NMESR, NB_N_B
61 INTEGER CAND_E(*),CAND_N(*),IXS(NIXS,*),IXS16(8,*),
62 . LWAT,NELEM(*),NELES(*),IXS20(12,*)
67 . x(3,*),eminxm(6,*),eminxs(6,*),xsav(3,*),v(3,*) ,a(3,*),
68 . frots(7,*), ks(2,*),bminma(6)
74 PARAMETER (I_ADD_MAX = 1001)
77 . nmes_f,nmes_l, maxsizs, i_add
101 xyzm(1,i_add) = bminma(1)
102 xyzm(2,i_add) = bminma(2)
103 xyzm(3,i_add) = bminma(3)
104 xyzm(4,i_add) = bminma(4)
105 xyzm(5,i_add) = bminma(5)
106 xyzm(6,i_add) = bminma(6)
115 maxsizs = 3*(nmes+nmesr+100)
126 ALLOCATE (
adchaine(nmes+nmesr),stat=ierr1)
127 ALLOCATE (
chaine(2,mx_cand),stat=ierr2)
128 IF(ierr1+ierr2 /= 0)
THEN
135 nmes_f = 1 + itask*(nmes+nmesr) / nthread
136 nmes_l = (itask+1)*(nmes+nmesr) / nthread
146 2 tzinf ,ixs ,ixs16 ,ixs20 ,nelem ,
147 3 neles ,maxsiz ,cand_n ,cand_e ,minbox ,
148 5 cont ,nb_n_b ,eminxm ,i_stok_glob,nme ,
149 6 itask ,noint ,x ,v ,a ,
150 7 mx_cand ,eminxs ,esh_t ,maxsizs ,i_add_max,
151 8 xyzm ,nmes ,nmesr ,nin )
180 1 NELES ,IXS ,IXS16 ,IXS20 ,NELEM ,
181 2 NME ,LWAT ,NMES ,CAND_E ,CAND_N ,
182 3 NOINT ,I_STOK_GLOB,TZINF ,MINBOX ,EMINXM ,
183 4 XSAV ,ITASK ,X ,V ,A ,
184 5 MX_CAND ,EMINXS ,ESH_T ,FROTS ,KS ,
185 6 ISENDTO ,IRCVFROM ,WEIGHT ,NIN ,NMESR ,
192 use element_mod ,
only : nixs
196#include "implicit_f.inc"
197#include "comlock.inc"
201#include "com01_c.inc"
202#include "com04_c.inc"
203#include "com08_c.inc"
210INTEGER CAND_E(*),CAND_N(*),IXS(NIXS,*),IXS16(8,*),
211 . LWAT,NELEM(*),NELES(*),IXS20(12,*),
212 . ISENDTO(*), IRCVFROM(*), WEIGHT(*)
217 . X(3,*),EMINXM(6,*),EMINXS(6,*),XSAV(3,*),V(3,*) ,A(3,*),
218 . FROTS(7,*), KS(2,*), VCOM(3,*)
224 PARAMETER (I_ADD_MAX = 1001)
225 integer i, j, k, l, cont,nb_n_b ,
227 . nmes_f,nmes_l, maxsizs, i_add
230 . xmin,ymin,zmin,xmax,
ymax,zmax,
231 . xyzm(6,i_add_max-1)
245 nmes_f = 1 + itask*nmes / nthread
246 nmes_l = (itask+1)*nmes / nthread
248 DO i=1+esh_t,nme+esh_t
250 xsav(1,j) = x(1,j)+dt2*(v(1,j)+dt12*a(1,j))
251 xsav(2,j) = x(2,j)+dt2*(v(2,j)+dt12*a(2,j))
252 xsav(3,j) = x(3,j)+dt2*(v(3,j)+dt12*a(3,j))
253 j=ixs16(k,nelem(i)-numels8-numels10-numels20)
254 xsav(1,j) = x(1,j)+dt2*(v(1,j)+dt12*a(1,j))
255 xsav(2,j) = x(2,j)+dt2*(v(2,j)+dt12*a(2,j))
256 xsav(3,j) = x(3,j)+dt2*(v(3,j)+dt12*a(3,j))
260 xsav(1,j) = x(1,j)+dt2*(v(1,j)+dt12*a(1,j))
261 xsav(2,j) = x(2,j)+dt2*(v(2,j)+dt12*a(2,j))
262 xsav(3,j) = x(3,j)+dt2*(v(3,j)+dt12*a(3,j))
263 j=ixs16(k,neles(i)-numels8-numels10-numels20)
264 xsav(1,j) = x(1,j)+dt2*(v(1,j)+dt12*a(1,j))
265 xsav(2,j) = x(2,j)+dt2*(v(2,j)+dt12*a(2,j))
266 xsav(3,j) = x(3,j)+dt2*(v(3,j)+dt12*a(3,j))
300 xmin =
min( xmin , eminxm(1,i) )
301 ymin =
min( ymin , eminxm(2,i) )
302 zmin =
min( zmin , eminxm(3,i) )
303 xmax =
max( xmax , eminxm(4,i) )
305 zmax =
max( zmax , eminxm(6,i) )
308 IF(abs(zmax-zmin)>2*ep30.OR.
309 + abs(
ymax-ymin)>2*ep30.OR.
310 + abs(xmax-xmin)>2*ep30)
THEN
311 CALL ancmsg(msgid=87,anmode=aninfo,
335 2 ks ,xyzm ,weight ,nin ,isendto,
336 3 ircvfrom,nmesr ,ixs ,ixs16,eminxs )
346 maxsizs = 3*(nmes+nmesr+100)
357 ALLOCATE (
adchaine(nmes+nmesr),stat=ierr1)
358 ALLOCATE (
chaine(2,mx_cand),stat=ierr2)
359 IF(ierr1+ierr2 /= 0)
THEN
374 2 tzinf ,ixs ,ixs16 ,ixs20 ,nelem ,
375 3 neles ,maxsiz ,cand_n ,cand_e ,minbox ,
376 5 cont ,nb_n_b ,eminxm ,i_stok_glob,nme ,
377 6 itask ,noint ,x ,v ,a ,
378 7 mx_cand ,eminxs ,esh_t ,maxsizs ,i_add_max,
379 8 xyzm ,nmes ,nmesr ,nin)
subroutine i17buce(neles, ixs, ixs16, ixs20, nelem, nme, lwat, nmes, cand_e, cand_n, noint, i_stok_glob, tzinf, minbox, eminxm, xsav, itask, x, v, a, mx_cand, eminxs, esh_t, frots, ks, isendto, ircvfrom, weight, nin, nmesr, vcom)
subroutine i17buce_pena(neles, ixs, ixs16, ixs20, nelem, nme, lwat, nmes, cand_e, cand_n, noint, i_stok_glob, tzinf, minbox, eminxm, xsav, itask, x, v, a, mx_cand, eminxs, esh_t, frots, ks, nin, nmesr, nb_n_b, bminma)
subroutine i17tri(tzinf, ixs, ixs16, ixs20, nelem, neles, maxsiz, cand_n, cand_e, minbox, cont, nb_n_b, eminx, i_stok_glob, nme, itask, noint, x, v, a, mx_cand, eminxs, esh_t, maxsizs, i_add_max, xyzm, nmes, nmesr, nin)
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)