37 1 IPARI ,INTBUF_TAB,IADLL ,LLL ,JLL ,
38 2 SLL ,XLL ,COMNTAG ,LTSM ,ICFTAG ,
39 3 JCFTAG ,IN ,MS ,X ,V ,
40 4 VR ,A ,AR ,ISKIP ,NCF_S ,
50#include "implicit_f.inc"
61 INTEGER N_MULT,ISKIP,NCF_S
62 INTEGER IPARI(NPARI,), IADLL(*),
63 . LLL(*), JLL(*), (*),COMNTAG(*),ICFTAG(*),JCFTAG(*)
66 . ltsm(*),xll(*),ms(*),in(*),x(3,*),v(3,*),vr(3,*),
69 TYPE(intbuf_struct_) INTBUF_TAB(*)
73 INTEGER NTY,ILAGM,NSN,NMN,NRTS,NRTM,NINT
78 ilagm = ipari(33,nint)
79 IF(nty==2 .AND. ilagm==1)
THEN
80 IF(ispmd==0 .AND. nspmd > 1)
THEN
81 CALL ancmsg(msgid=113,anmode=aninfo,
91 1 intbuf_tab(nint)%IRECTM,intbuf_tab(nint)%NSV,intbuf_tab(nint)%IRTLM,
93 3 jll ,sll ,xll ,ltsm ,comntag ,
94 4 icftag ,jcftag ,ms ,in ,x ,
95 5 v ,vr ,a ,ar ,nint ,
96 6 nsn ,iskip ,ncf_s ,n_mult )
113 3 JLL ,SLL ,XLL ,LTSM ,COMNTAG ,
114 4 ICFTAG ,JCFTAG ,MS ,IN ,X ,
115 5 V ,VR ,A ,AR ,NINT ,
116 6 NSN ,ISKIP ,NCF_S ,NC )
120#include "implicit_f.inc"
124 INTEGER NSN, NINT, NC, ISKIP, NCF_S
125 INTEGER LLL(*), JLL(*), SLL(*), IADLL(*),
126 . IRECT(4,*),NSV(*),IRTL(*),COMNTAG(*),ICFTAG(*),JCFTAG(*)
128 . LTSM(*),XLL(*),X(3,*),MS(*),IN(*),V(3,*),VR(3,*),
133 INTEGER INOD(5), I,J,K,L,IC,JC,II,JJ,,ISK,IAD,NIR,NDL,
136 . rx(4),ry(4),rz(4),hloc(6,6),lloc(6),
137 . b1,b2,b3,c1,c2,c3,det,s,hij,
138 . x0,x1,x2,x3,x4,xs,y0,y1,y2,y3,y4,ys,z0,z1,z2,z3,z4,zs,
139 . x12,x22,x32,x42,y12,y22,y32,y42,z12,z22,z32,z42,
140 . xx,yy,zz,xxx,yyy,zzz,xy,yz,zx,xy2,yz2,zx2,fact
147 inod(jj) = irect(jj,l)
149 IF(inod(4)==inod(3)) nir=3
151 inod(nir+1) = nsv(ii)
156 IF (comntag(inod(jj))>1) comflag = 1
172 x0=fourth*(x1+x2+x3+x4)
173 y0=fourth*(y1+y2+y3+y4)
174 z0=fourth*(z1+z2+z3+z4)
213 xx=x12 + x22 + x32 + x42
214 yy=y12 + y22 + y32 + y42
215 zz=z12 + z22 + z32 + z42
216 xy=x1*y1 + x2*y2 + x3*y3 + x4*y4
217 yz=y1*z1 + y2*z2 + y3*z3 + y4*z4
218 zx=z1*x1 + z2*x2 + z3*x3 + z4*x4
264 xy=x1*y1 + x2*y2 + x3*y3
265 yz=y1*z1 + y2*z2 + y3*z3
266 zx=z1*x1 + z2*x2 + z3*x3
268 xs=x(1,inod(nir+1))-x0
269 ys=x(2,inod(nir+1))-y0
270 zs=x(3,inod(nir+1))-z0
277 det=xxx*yyy*zzz - xxx*yz2 - yyy*zx2 - zzz*xy2 - two*xy*yz*zx
289 iadll(nc+1) = iadll(nc) + ndl
297 . + det*zs*(b2*rz(jj) - c1*ry(jj))
298 . - det*ys*(c1*rz(jj) - b3*ry(jj))
306 xll(ik) = det*zs*(c1*rx(jj) - c3*rz(jj))
307 . - det*ys*(b3*rx(jj) - c2*rz(jj))
315 xll(ik) = det*zs*(c3*ry(jj) - b2*rx(jj))
316 . - det*ys*(c2*ry(jj) - c1*rx(jj))
319 lll(ik) = inod(nir + 1)
325 iadll(nc+1) = iadll(nc) + ndl
332 xll(ik) = det*xs*(c1*rz(jj) - b3*ry(jj))
333 . - det*zs*(c3*rz(jj) - c2*ry(jj))
342 . + det*xs*(b3*rx(jj) - c2*rz(jj))
343 . - det*zs*(c2*rx(jj) - b1*rz(jj))
352 . - det*zs*(b1*ry(jj) - c3*rx(jj))
361 iadll(nc+1) = iadll(nc) + ndl
368 xll(ik) = det*ys*(c3*rz(jj) - c2*ry(jj))
369 . - det*xs*(b2*rz(jj) - c1*ry(jj))
377 xll(ik) = det*ys*(c2*rx(jj) - b1*rz(jj))
378 . - det*xs*(c1*rx(jj) - c3*rz(jj))
387 . + det*ys*(b1*ry(jj) - c3*rx(jj))
388 . - det*xs*(c3*ry(jj) - b2*rx(jj))
391 lll(ik) = inod(nir+1)
399 iadll(nc+1) = iadll(nc) + ndl
406 xll(ik) = det*(c3*rz(jj) - c2*ry(jj))
414 xll(ik) = det*(c2*rx(jj) - b1*rz(jj))
422 xll(ik) = det*(b1*ry(jj) - c3*rx(jj))
425 lll(ik) = inod(nir+1)
431 iadll(nc+1) = iadll(nc) + ndl
438 xll(ik) = det*(b2*rz(jj) - c1*ry(jj))
446 xll(ik) = det*(c1*rx(jj) - c3*rz(jj))
454 xll(ik) = det*(c3*ry(jj) - b2*rx(jj))
457 lll(ik) = inod(nir+1)
463 iadll(nc+1) = iadll(nc) + ndl
470 xll(ik) = det*(c1*rz(jj) - b3*ry(jj))
478 xll(ik) = det*(b3*rx(jj) - c2*rz(jj))
486 xll(ik) = det*(c2*ry(jj) - c1*rx(jj))
489 lll(ik) = inod(nir+1)
495 1 iadll ,lll ,jll ,xll ,ltsm ,
505 icftag(ic) = ic + iskip
506 jcftag(ic+iskip) = nc_ini + k
subroutine lag_i2main(ipari, intbuf_tab, iadll, lll, jll, sll, xll, comntag, ltsm, icftag, jcftag, in, ms, x, v, vr, a, ar, iskip, ncf_s, n_mult)
subroutine i2lagm(irect, nsv, irtl, iadll, lll, jll, sll, xll, ltsm, comntag, icftag, jcftag, ms, in, x, v, vr, a, ar, nint, nsn, iskip, ncf_s, nc)
subroutine lag_mult(ipari, x, a, wat, v, ms, in, vr, itask, wag, itab, ixs, ixs20, ixs16, igrnod, fani, fsav, skew, ar, lambda, lagbuf, ibcslag, ixs10, gjbufi, gjbufr, ibmpc, rbmpc, npbyl, lpbyl, ibfv, vel, npf, tf, newfront, icontact, rwbuf, lprw, nprw, rbyl, d, dr, kinet, nsensor, sensor_tab, intbuf_tab, h3d_data, igrbric, python, nodes)
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)