53 SUBROUTINE v3d10r_nl(coor,matcstet,lmcstet,R_in,d,ci,cj,&
54 s11,s22,s33,s12,s23,s13, &
55 numnp,nstart,nend,numcstet,numat_vol)
73 REAL*8,
DIMENSION(1:3,1:numnp) :: coor
75 REAL*8,
DIMENSION(1:9,1:numat_vol) :: ci,cj
77 REAL*8,
DIMENSION(1:3*numnp) :: r_in
79 REAL*8,
DIMENSION(1:3*numnp) ::
d
81 REAL*8,
DIMENSION(1:4,1:numcstet) :: s11, s22, s33, s12, s23, s13
83 INTEGER,
DIMENSION(1:10,1:numcstet) :: lmcstet
85 INTEGER,
DIMENSION(1:numcstet) :: matcstet
88 INTEGER :: n1,n2,n3,n4,n5,n6,n7,n8,n9,n10
90 REAL*8 :: u1,u2,u3,u4,u5,u6,u7,u8,u9,u10
91 REAL*8 :: v1,v2,v3,v4,v5,v6,v7,v8,v9,v10
92 REAL*8 :: w1,w2,w3,w4,w5,w6,w7,w8,w9,w10
96 REAL*8 :: b1,b2,b3,b4,b5,b6,b7,b8,b9,b10
97 REAL*8 :: b11,b12,b13,b14,b15,b16,b17,b18,b19,b20
98 REAL*8 :: b21,b22,b23,b24,b25,b26,b27,b28,b29,b30
100 REAL*8 :: dudx,dvdy,dwdz,dudy,dvdx,dvdz,dwdy,dudz,dwdx
102 REAL*8 :: e11,e22,e33,e12,e23,e13
104 REAL*8 :: x1,x2,x3,x4,x5,x6,x7,x8,x9,x10
105 REAL*8 :: y1,y2,y3,y4,y5,y6,y7,y8,y9,y10
106 REAL*8 :: z1,z2,z3,z4,z5,z6,z7,z8,z9,z10
108 INTEGER ::
i,
j,nstart,nend
109 REAL*8 :: aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9,aux10,aux11,aux12
111 REAL*8 :: r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18
112 REAL*8 :: r19,r20,r21,r22,r23,r24,r25,r26,r27,r28,r29,r30
113 REAL*8 :: g1, g2, g3, g4
114 REAL*8 :: xn1, xn2, xn3, xn4
116 REAL*8 :: x14, x24, x34, y14, y24, y34, z14, z24, z34
118 REAL*8 :: c11, c21, c31
119 INTEGER :: k1n1,k1n2,k1n3,k1n4,k1n5,k1n6,k1n7,k1n8,k1n9,k1n10
120 INTEGER :: k2n1,k2n2,k2n3,k2n4,k2n5,k2n6,k2n7,k2n8,k2n9,k2n10
121 INTEGER :: k3n1,k3n2,k3n3,k3n4,k3n5,k3n6,k3n7,k3n8,k3n9,k3n10
215 vx6 = x2*y3*z4 - x2*y4*z3 - y2*x3*z4 + y2*x4*z3 + z2*x3*y4 &
216 - z2*x4*y3 - x1*y3*z4 + x1*y4*z3 + x1*y2*z4 - x1*y2*z3 &
217 - x1*z2*y4 + x1*z2*y3 + y1*x3*z4 - y1*x4*z3 - y1*x2*z4 &
218 + y1*x2*z3 + y1*z2*x4 - y1*z2*x3 - z1*x3*y4 + z1*x4*y3 &
219 + z1*x2*y4 - z1*x2*y3 - z1*y2*x4 + z1*y2*x3
223 aux1 = -(y3*z4 - y4*z3 - y2*z4 + y2*z3 + z2*y4 - z2*y3)
224 aux2 = (x3*z4 - x4*z3 - x2*z4 + x2*z3 + z2*x4 - z2*x3)
225 aux3 = -(x3*y4 - x4*y3 - x2*y4 + x2*y3 + y2*x4 - y2*x3)
226 aux4 = (y3*z4 - y4*z3 - y1*z4 + y1*z3 + z1*y4 - z1*y3)
227 aux5 = -(x3*z4 - x4*z3 - x1*z4 + x1*z3 + z1*x4 - z1*x3)
228 aux6 = (x3*y4 - x4*y3 - x1*y4 + x1*y3 + y1*x4 - y1*x3)
229 aux7 = -(y2*z4 - z2*y4 - y1*z4 + y1*z2 + z1*y4 - z1*y2)
230 aux8 = (x2*z4 - z2*x4 - x1*z4 + x1*z2 + z1*x4 - z1*x2)
231 aux9 = -(x2*y4 - y2*x4 - x1*y4 + x1*y2 + y1*x4 - y1*x2)
232 aux10 = (y2*z3 - z2*y3 - y1*z3 + y1*z2 + z1*y3 - z1*y2)
233 aux11 =-(x2*z3 - z2*x3 - x1*z3 + x1*z2 + z1*x3 - z1*x2)
234 aux12 = (x2*y3 - y2*x3 - x1*y3 + x1*y2 + y1*x3 - y1*x2)
267 b13 = 4.d0*(g2*aux1 + g1*aux4)
268 b14 = 4.d0*(g2*aux2 + g1*aux5)
269 b15 = 4.d0*(g2*aux3 + g1*aux6)
271 b16 = 4.d0*(g3*aux4 + g2*aux7)
272 b17 = 4.d0*(g3*aux5 + g2*aux8)
273 b18 = 4.d0*(g3*aux6 + g2*aux9)
275 b19 = 4.d0*(g1*aux7 + g3*aux1)
276 b20 = 4.d0*(g1*aux8 + g3*aux2)
277 b21 = 4.d0*(g1*aux9 + g3*aux3)
279 b22 = 4.d0*(g4*aux1 + g1*aux10)
280 b23 = 4.d0*(g4*aux2 + g1*aux11)
281 b24 = 4.d0*(g4*aux3 + g1*aux12)
283 b25 = 4.d0*(g4*aux4 + g2*aux10)
284 b26 = 4.d0*(g4*aux5 + g2*aux11)
285 b27 = 4.d0*(g4*aux6 + g2*aux12)
287 b28 = 4.d0*(g4*aux7 + g3*aux10)
288 b29 = 4.d0*(g4*aux8 + g3*aux11)
289 b30 = 4.d0*(g4*aux9 + g3*aux12)
293 dudx = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10)*vx6inv
294 dvdy = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10)*vx6inv
295 dwdz = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10)*vx6inv
296 dudy = (b2*u1 + b5*u2 + b8*u3 + b11*u4 + b14*u5 + b17*u6 + b20*u7 + b23*u8 + b26*u9 + b29*u10)*vx6inv
297 dvdx = (b1*v1 + b4*v2 + b7*v3 + b10*v4 + b13*v5 + b16*v6 + b19*v7 + b22*v8 + b25*v9 + b28*v10)*vx6inv
298 dvdz = (b3*v1 + b6*v2 + b9*v3 + b12*v4 + b15*v5 + b18*v6 + b21*v7 + b24*v8 + b27*v9 + b30*v10)*vx6inv
299 dwdy = (b2*w1 + b5*w2 + b8*w3 + b11*w4 + b14*w5 + b17*w6 + b20*w7 + b23*w8 + b26*w9 + b29*w10)*vx6inv
300 dudz = (b3*u1 + b6*u2 + b9*u3 + b12*u4 + b15*u5 + b18*u6 + b21*u7 + b24*u8 + b27*u9 + b30*u10)*vx6inv
301 dwdx = (b1*w1 + b4*w2 + b7*w3 + b10*w4 + b13*w5 + b16*w6 + b19*w7 + b22*w8 + b25*w9 + b28*w10)*vx6inv
305 e11 = dudx + 0.5d0*(dudx*dudx + dvdx*dvdx + dwdx*dwdx)
306 e22 = dvdy + 0.5d0*(dudy*dudy + dvdy*dvdy + dwdy*dwdy)
307 e33 = dwdz + 0.5d0*(dudz*dudz + dvdz*dvdz + dwdz*dwdz)
308 e12 = dudy + dvdx + ( dudx*dudy + dvdx*dvdy + dwdx*dwdy )
309 e23 = dvdz + dwdy + ( dudy*dudz + dvdy*dvdz + dwdy*dwdz )
310 e13 = dwdx + dudz + ( dudz*dudx + dvdz*dvdx + dwdz*dwdx )
314 s11(1,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
315 s22(1,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
316 s33(1,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
317 s12(1,
i) = e12*ci(7,
j)
318 s23(1,
i) = e23*ci(8,
j)
319 s13(1,
i) = e13*ci(9,
j)
322 ( s11(1,
i)*b1*(1.d0+dudx) + s22(1,
i)*b2*dudy + s33(1,
i)*b3*dudz &
323 + s12(1,
i)*( b2*(1.d0+dudx) + b1*dudy ) &
324 + s23(1,
i)*( b3*dudy + b2*dudz ) &
325 + s13(1,
i)*( b3*(1.d0+dudx) + b1*dudz ) )
327 ( s11(1,
i)*b1*dvdx + s22(1,
i)*b2*(1.d0+dvdy) + s33(1,
i)*b3*dvdz &
328 + s12(1,
i)*( b1*(1.d0+dvdy) + b2*dvdx ) &
329 + s23(1,
i)*( b3*(1.d0+dvdy) + b2*dvdz ) &
330 + s13(1,
i)*( b3*dvdx + b1*dvdz ) )
332 ( s11(1,
i)*b1*dwdx + s22(1,
i)*b2*dwdy + s33(1,
i)*b3*(1.d0+dwdz) &
333 + s12(1,
i)*( b2*dwdx + b1*dwdy ) &
334 + s23(1,
i)*( b3*dwdy + b2*(1.d0 + dwdz) ) &
335 + s13(1,
i)*( b3*dwdx + b1*(1.d0 + dwdz) ) )
338 ( s11(1,
i)*b4*(1.d0+dudx) + s22(1,
i)*b5*dudy + s33(1,
i)*b6*dudz &
339 + s12(1,
i)*( b5*(1.d0+dudx) + b4*dudy ) &
340 + s23(1,
i)*( b6*dudy + b5*dudz ) &
341 + s13(1,
i)*( b6*(1.d0+dudx) + b4*dudz ) )
343 ( s11(1,
i)*b4*dvdx + s22(1,
i)*b5*(1.d0+dvdy) + s33(1,
i)*b6*dvdz &
344 + s12(1,
i)*( b4*(1.d0+dvdy) + b5*dvdx ) &
345 + s23(1,
i)*( b6*(1.d0+dvdy) + b5*dvdz ) &
346 + s13(1,
i)*( b6*dvdx + b4*dvdz ) )
348 ( s11(1,
i)*b4*dwdx + s22(1,
i)*b5*dwdy + s33(1,
i)*b6*(1.d0+dwdz) &
349 + s12(1,
i)*( b5*dwdx + b4*dwdy ) &
350 + s23(1,
i)*( b6*dwdy + b5*(1.d0 + dwdz) ) &
351 + s13(1,
i)*( b6*dwdx + b4*(1.d0 + dwdz) ) )
354 ( s11(1,
i)*b7*(1.d0+dudx) + s22(1,
i)*b8*dudy + s33(1,
i)*b9*dudz &
355 + s12(1,
i)*( b8*(1.d0+dudx) + b7*dudy ) &
356 + s23(1,
i)*( b9*dudy + b8*dudz ) &
357 + s13(1,
i)*( b9*(1.d0+dudx) + b7*dudz ) )
359 ( s11(1,
i)*b7*dvdx + s22(1,
i)*b8*(1.d0+dvdy) + s33(1,
i)*b9*dvdz &
360 + s12(1,
i)*( b7*(1.d0+dvdy) + b8*dvdx ) &
361 + s23(1,
i)*( b9*(1.d0+dvdy) + b8*dvdz ) &
362 + s13(1,
i)*( b9*dvdx + b7*dvdz ) )
364 ( s11(1,
i)*b7*dwdx + s22(1,
i)*b8*dwdy + s33(1,
i)*b9*(1.d0+dwdz) &
365 + s12(1,
i)*( b8*dwdx + b7*dwdy ) &
366 + s23(1,
i)*( b9*dwdy + b8*(1.d0 + dwdz) ) &
367 + s13(1,
i)*( b9*dwdx + b7*(1.d0 + dwdz) ) )
370 ( s11(1,
i)*b10*(1.d0+dudx) + s22(1,
i)*b11*dudy+s33(1,
i)*b12*dudz &
371 + s12(1,
i)*( b11*(1.d0+dudx) + b10*dudy ) &
372 + s23(1,
i)*( b12*dudy + b11*dudz ) &
373 + s13(1,
i)*( b12*(1.d0+dudx) + b10*dudz ) )
375 ( s11(1,
i)*b10*dvdx + s22(1,
i)*b11*(1.d0+dvdy)+s33(1,
i)*b12*dvdz &
376 + s12(1,
i)*( b10*(1.d0+dvdy) + b11*dvdx ) &
377 + s23(1,
i)*( b12*(1.d0+dvdy) + b11*dvdz ) &
378 + s13(1,
i)*( b12*dvdx + b10*dvdz ) )
380 ( s11(1,
i)*b10*dwdx + s22(1,
i)*b11*dwdy+s33(1,
i)*b12*(1.d0+dwdz) &
381 + s12(1,
i)*( b11*dwdx + b10*dwdy ) &
382 + s23(1,
i)*( b12*dwdy + b11*(1.d0 + dwdz) ) &
383 + s13(1,
i)*( b12*dwdx + b10*(1.d0 + dwdz) ) )
386 ( s11(1,
i)*b13*(1.d0+dudx) + s22(1,
i)*b14*dudy + s33(1,
i)*b15*dudz &
387 + s12(1,
i)*( b14*(1.d0+dudx) + b13*dudy ) &
388 + s23(1,
i)*( b15*dudy + b14*dudz ) &
389 + s13(1,
i)*( b15*(1.d0+dudx) + b13*dudz ) )
391 ( s11(1,
i)*b13*dvdx + s22(1,
i)*b14*(1.d0+dvdy) + s33(1,
i)*b15*dvdz &
392 + s12(1,
i)*( b13*(1.d0+dvdy) + b14*dvdx ) &
393 + s23(1,
i)*( b15*(1.d0+dvdy) + b14*dvdz ) &
394 + s13(1,
i)*( b15*dvdx + b13*dvdz ) )
396 ( s11(1,
i)*b13*dwdx + s22(1,
i)*b14*dwdy + s33(1,
i)*b15*(1.d0+dwdz) &
397 + s12(1,
i)*( b14*dwdx + b13*dwdy ) &
398 + s23(1,
i)*( b15*dwdy + b14*(1.d0 + dwdz) ) &
399 + s13(1,
i)*( b15*dwdx + b13*(1.d0 + dwdz) ) )
402 ( s11(1,
i)*b16*(1.d0+dudx) + s22(1,
i)*b17*dudy + s33(1,
i)*b18*dudz &
403 + s12(1,
i)*( b17*(1.d0+dudx) + b16*dudy ) &
404 + s23(1,
i)*( b18*dudy + b17*dudz ) &
405 + s13(1,
i)*( b18*(1.d0+dudx) + b16*dudz ) )
407 ( s11(1,
i)*b16*dvdx + s22(1,
i)*b17*(1.d0+dvdy) + s33(1,
i)*b18*dvdz &
408 + s12(1,
i)*( b16*(1.d0+dvdy) + b17*dvdx ) &
409 + s23(1,
i)*( b18*(1.d0+dvdy) + b17*dvdz ) &
410 + s13(1,
i)*( b18*dvdx + b16*dvdz ) )
412 ( s11(1,
i)*b16*dwdx + s22(1,
i)*b17*dwdy + s33(1,
i)*b18*(1.d0+dwdz) &
413 + s12(1,
i)*( b17*dwdx + b16*dwdy ) &
414 + s23(1,
i)*( b18*dwdy + b17*(1.d0 + dwdz) ) &
415 + s13(1,
i)*( b18*dwdx + b16*(1.d0 + dwdz) ) )
418 ( s11(1,
i)*b19*(1.d0+dudx) + s22(1,
i)*b20*dudy + s33(1,
i)*b21*dudz &
419 + s12(1,
i)*( b20*(1.d0+dudx) + b19*dudy ) &
420 + s23(1,
i)*( b21*dudy + b20*dudz ) &
421 + s13(1,
i)*( b21*(1.d0+dudx) + b19*dudz ) )
423 ( s11(1,
i)*b19*dvdx + s22(1,
i)*b20*(1.d0+dvdy) + s33(1,
i)*b21*dvdz &
424 + s12(1,
i)*( b19*(1.d0+dvdy) + b20*dvdx ) &
425 + s23(1,
i)*( b21*(1.d0+dvdy) + b20*dvdz ) &
426 + s13(1,
i)*( b21*dvdx + b19*dvdz ) )
428 ( s11(1,
i)*b19*dwdx + s22(1,
i)*b20*dwdy + s33(1,
i)*b21*(1.d0+dwdz) &
429 + s12(1,
i)*( b20*dwdx + b19*dwdy ) &
430 + s23(1,
i)*( b21*dwdy + b20*(1.d0 + dwdz) ) &
431 + s13(1,
i)*( b21*dwdx + b19*(1.d0 + dwdz) ) )
434 ( s11(1,
i)*b22*(1.d0+dudx) + s22(1,
i)*b23*dudy+s33(1,
i)*b24*dudz &
435 + s12(1,
i)*( b23*(1.d0+dudx) + b22*dudy ) &
436 + s23(1,
i)*( b24*dudy + b23*dudz ) &
437 + s13(1,
i)*( b24*(1.d0+dudx) + b22*dudz ) )
439 ( s11(1,
i)*b22*dvdx + s22(1,
i)*b23*(1.d0+dvdy)+s33(1,
i)*b24*dvdz &
440 + s12(1,
i)*( b22*(1.d0+dvdy) + b23*dvdx ) &
441 + s23(1,
i)*( b24*(1.d0+dvdy) + b23*dvdz ) &
442 + s13(1,
i)*( b24*dvdx + b22*dvdz ) )
444 ( s11(1,
i)*b22*dwdx + s22(1,
i)*b23*dwdy+s33(1,
i)*b24*(1.d0+dwdz) &
445 + s12(1,
i)*( b23*dwdx + b22*dwdy ) &
446 + s23(1,
i)*( b24*dwdy + b23*(1.d0 + dwdz) ) &
447 + s13(1,
i)*( b24*dwdx + b22*(1.d0 + dwdz) ) )
450 ( s11(1,
i)*b25*(1.d0+dudx) + s22(1,
i)*b26*dudy+s33(1,
i)*b27*dudz &
451 + s12(1,
i)*( b26*(1.d0+dudx) + b25*dudy ) &
452 + s23(1,
i)*( b27*dudy + b26*dudz ) &
453 + s13(1,
i)*( b27*(1.d0+dudx) + b25*dudz ) )
455 ( s11(1,
i)*b25*dvdx + s22(1,
i)*b26*(1.d0+dvdy)+s33(1,
i)*b27*dvdz &
456 + s12(1,
i)*( b25*(1.d0+dvdy) + b26*dvdx ) &
457 + s23(1,
i)*( b27*(1.d0+dvdy) + b26*dvdz ) &
458 + s13(1,
i)*( b27*dvdx + b25*dvdz ) )
460 ( s11(1,
i)*b25*dwdx + s22(1,
i)*b26*dwdy+s33(1,
i)*b27*(1.d0+dwdz) &
461 + s12(1,
i)*( b26*dwdx + b25*dwdy ) &
462 + s23(1,
i)*( b27*dwdy + b26*(1.d0 + dwdz) ) &
463 + s13(1,
i)*( b27*dwdx + b25*(1.d0 + dwdz) ) )
466 ( s11(1,
i)*b28*(1.d0+dudx) + s22(1,
i)*b29*dudy+s33(1,
i)*b30*dudz &
467 + s12(1,
i)*( b29*(1.d0+dudx) + b28*dudy ) &
468 + s23(1,
i)*( b30*dudy + b29*dudz ) &
469 + s13(1,
i)*( b30*(1.d0+dudx) + b28*dudz ) )
471 ( s11(1,
i)*b28*dvdx + s22(1,
i)*b29*(1.d0+dvdy)+s33(1,
i)*b30*dvdz &
472 + s12(1,
i)*( b28*(1.d0+dvdy) + b29*dvdx ) &
473 + s23(1,
i)*( b30*(1.d0+dvdy) + b29*dvdz ) &
474 + s13(1,
i)*( b30*dvdx + b28*dvdz ) )
476 ( s11(1,
i)*b28*dwdx + s22(1,
i)*b29*dwdy+s33(1,
i)*b30*(1.d0+dwdz) &
477 + s12(1,
i)*( b29*dwdx + b28*dwdy ) &
478 + s23(1,
i)*( b30*dwdy + b29*(1.d0 + dwdz) ) &
479 + s13(1,
i)*( b30*dwdx + b28*(1.d0 + dwdz) ) )
512 b13 = 4.d0*(g2*aux1 + g1*aux4)
513 b14 = 4.d0*(g2*aux2 + g1*aux5)
514 b15 = 4.d0*(g2*aux3 + g1*aux6)
516 b16 = 4.d0*(g3*aux4 + g2*aux7)
517 b17 = 4.d0*(g3*aux5 + g2*aux8)
518 b18 = 4.d0*(g3*aux6 + g2*aux9)
520 b19 = 4.d0*(g1*aux7 + g3*aux1)
521 b20 = 4.d0*(g1*aux8 + g3*aux2)
522 b21 = 4.d0*(g1*aux9 + g3*aux3)
524 b22 = 4.d0*(g4*aux1 + g1*aux10)
525 b23 = 4.d0*(g4*aux2 + g1*aux11)
526 b24 = 4.d0*(g4*aux3 + g1*aux12)
528 b25 = 4.d0*(g4*aux4 + g2*aux10)
529 b26 = 4.d0*(g4*aux5 + g2*aux11)
530 b27 = 4.d0*(g4*aux6 + g2*aux12)
532 b28 = 4.d0*(g4*aux7 + g3*aux10)
533 b29 = 4.d0*(g4*aux8 + g3*aux11)
534 b30 = 4.d0*(g4*aux9 + g3*aux12)
536 dudx = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10)*vx6inv
537 dvdy = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10)*vx6inv
538 dwdz = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10)*vx6inv
539 dudy = (b2*u1 + b5*u2 + b8*u3 + b11*u4 + b14*u5 + b17*u6 + b20*u7 + b23*u8 + b26*u9 + b29*u10)*vx6inv
540 dvdx = (b1*v1 + b4*v2 + b7*v3 + b10*v4 + b13*v5 + b16*v6 + b19*v7 + b22*v8 + b25*v9 + b28*v10)*vx6inv
541 dvdz = (b3*v1 + b6*v2 + b9*v3 + b12*v4 + b15*v5 + b18*v6 + b21*v7 + b24*v8 + b27*v9 + b30*v10)*vx6inv
542 dwdy = (b2*w1 + b5*w2 + b8*w3 + b11*w4 + b14*w5 + b17*w6 + b20*w7 + b23*w8 + b26*w9 + b29*w10)*vx6inv
543 dudz = (b3*u1 + b6*u2 + b9*u3 + b12*u4 + b15*u5 + b18*u6 + b21*u7 + b24*u8 + b27*u9 + b30*u10)*vx6inv
544 dwdx = (b1*w1 + b4*w2 + b7*w3 + b10*w4 + b13*w5 + b16*w6 + b19*w7 + b22*w8 + b25*w9 + b28*w10)*vx6inv
548 e11 = dudx + 0.5d0*(dudx*dudx + dvdx*dvdx + dwdx*dwdx)
549 e22 = dvdy + 0.5d0*(dudy*dudy + dvdy*dvdy + dwdy*dwdy)
550 e33 = dwdz + 0.5d0*(dudz*dudz + dvdz*dvdz + dwdz*dwdz)
551 e12 = dudy + dvdx + ( dudx*dudy + dvdx*dvdy + dwdx*dwdy )
552 e23 = dvdz + dwdy + ( dudy*dudz + dvdy*dvdz + dwdy*dwdz )
553 e13 = dwdx + dudz + ( dudz*dudx + dvdz*dvdx + dwdz*dwdx )
557 s11(2,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
558 s22(2,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
559 s33(2,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
560 s12(2,
i) = e12*ci(7,
j)
561 s23(2,
i) = e23*ci(8,
j)
562 s13(2,
i) = e13*ci(9,
j)
565 ( s11(2,
i)*b1*(1.d0+dudx) + s22(2,
i)*b2*dudy + s33(2,
i)*b3*dudz &
566 + s12(2,
i)*( b2*(1.d0+dudx) + b1*dudy ) &
567 + s23(2,
i)*( b3*dudy + b2*dudz ) &
568 + s13(2,
i)*( b3*(1.d0+dudx) + b1*dudz ) )
570 ( s11(2,
i)*b1*dvdx + s22(2,
i)*b2*(1.d0+dvdy) + s33(2,
i)*b3*dvdz &
571 + s12(2,
i)*( b1*(1.d0+dvdy) + b2*dvdx ) &
572 + s23(2,
i)*( b3*(1.d0+dvdy) + b2*dvdz ) &
573 + s13(2,
i)*( b3*dvdx + b1*dvdz ) )
575 ( s11(2,
i)*b1*dwdx + s22(2,
i)*b2*dwdy + s33(2,
i)*b3*(1.d0+dwdz) &
576 + s12(2,
i)*( b2*dwdx + b1*dwdy ) &
577 + s23(2,
i)*( b3*dwdy + b2*(1.d0 + dwdz) ) &
578 + s13(2,
i)*( b3*dwdx + b1*(1.d0 + dwdz) ) )
581 ( s11(2,
i)*b4*(1.d0+dudx) + s22(2,
i)*b5*dudy + s33(2,
i)*b6*dudz &
582 + s12(2,
i)*( b5*(1.d0+dudx) + b4*dudy ) &
583 + s23(2,
i)*( b6*dudy + b5*dudz ) &
584 + s13(2,
i)*( b6*(1.d0+dudx) + b4*dudz ) )
586 ( s11(2,
i)*b4*dvdx + s22(2,
i)*b5*(1.d0+dvdy) + s33(2,
i)*b6*dvdz &
587 + s12(2,
i)*( b4*(1.d0+dvdy) + b5*dvdx ) &
588 + s23(2,
i)*( b6*(1.d0+dvdy) + b5*dvdz ) &
589 + s13(2,
i)*( b6*dvdx + b4*dvdz ) )
591 ( s11(2,
i)*b4*dwdx + s22(2,
i)*b5*dwdy + s33(2,
i)*b6*(1.d0+dwdz) &
592 + s12(2,
i)*( b5*dwdx + b4*dwdy ) &
593 + s23(2,
i)*( b6*dwdy + b5*(1.d0 + dwdz) ) &
594 + s13(2,
i)*( b6*dwdx + b4*(1.d0 + dwdz) ) )
597 ( s11(2,
i)*b7*(1.d0+dudx) + s22(2,
i)*b8*dudy + s33(2,
i)*b9*dudz &
598 + s12(2,
i)*( b8*(1.d0+dudx) + b7*dudy ) &
599 + s23(2,
i)*( b9*dudy + b8*dudz ) &
600 + s13(2,
i)*( b9*(1.d0+dudx) + b7*dudz ) )
602 ( s11(2,
i)*b7*dvdx + s22(2,
i)*b8*(1.d0+dvdy) + s33(2,
i)*b9*dvdz &
603 + s12(2,
i)*( b7*(1.d0+dvdy) + b8*dvdx ) &
604 + s23(2,
i)*( b9*(1.d0+dvdy) + b8*dvdz ) &
605 + s13(2,
i)*( b9*dvdx + b7*dvdz ) )
607 ( s11(2,
i)*b7*dwdx + s22(2,
i)*b8*dwdy + s33(2,
i)*b9*(1.d0+dwdz) &
608 + s12(2,
i)*( b8*dwdx + b7*dwdy ) &
609 + s23(2,
i)*( b9*dwdy + b8*(1.d0 + dwdz) ) &
610 + s13(2,
i)*( b9*dwdx + b7*(1.d0 + dwdz) ) )
613 ( s11(2,
i)*b10*(1.d0+dudx) + s22(2,
i)*b11*dudy+s33(2,
i)*b12*dudz &
614 + s12(2,
i)*( b11*(1.d0+dudx) + b10*dudy ) &
615 + s23(2,
i)*( b12*dudy + b11*dudz ) &
616 + s13(2,
i)*( b12*(1.d0+dudx) + b10*dudz ) )
618 ( s11(2,
i)*b10*dvdx + s22(2,
i)*b11*(1.d0+dvdy)+s33(2,
i)*b12*dvdz &
619 + s12(2,
i)*( b10*(1.d0+dvdy) + b11*dvdx ) &
620 + s23(2,
i)*( b12*(1.d0+dvdy) + b11*dvdz ) &
621 + s13(2,
i)*( b12*dvdx + b10*dvdz ) )
623 ( s11(2,
i)*b10*dwdx + s22(2,
i)*b11*dwdy+s33(2,
i)*b12*(1.d0+dwdz) &
624 + s12(2,
i)*( b11*dwdx + b10*dwdy ) &
625 + s23(2,
i)*( b12*dwdy + b11*(1.d0 + dwdz) ) &
626 + s13(2,
i)*( b12*dwdx + b10*(1.d0 + dwdz) ) )
629 ( s11(2,
i)*b13*(1.d0+dudx) + s22(2,
i)*b14*dudy + s33(2,
i)*b15*dudz &
630 + s12(2,
i)*( b14*(1.d0+dudx) + b13*dudy ) &
631 + s23(2,
i)*( b15*dudy + b14*dudz ) &
632 + s13(2,
i)*( b15*(1.d0+dudx) + b13*dudz ) )
634 ( s11(2,
i)*b13*dvdx + s22(2,
i)*b14*(1.d0+dvdy) + s33(2,
i)*b15*dvdz &
635 + s12(2,
i)*( b13*(1.d0+dvdy) + b14*dvdx ) &
636 + s23(2,
i)*( b15*(1.d0+dvdy) + b14*dvdz ) &
637 + s13(2,
i)*( b15*dvdx + b13*dvdz ) )
639 ( s11(2,
i)*b13*dwdx + s22(2,
i)*b14*dwdy + s33(2,
i)*b15*(1.d0+dwdz) &
640 + s12(2,
i)*( b14*dwdx + b13*dwdy ) &
641 + s23(2,
i)*( b15*dwdy + b14*(1.d0 + dwdz) ) &
642 + s13(2,
i)*( b15*dwdx + b13*(1.d0 + dwdz) ) )
645 ( s11(2,
i)*b16*(1.d0+dudx) + s22(2,
i)*b17*dudy + s33(2,
i)*b18*dudz &
646 + s12(2,
i)*( b17*(1.d0+dudx) + b16*dudy ) &
647 + s23(2,
i)*( b18*dudy + b17*dudz ) &
648 + s13(2,
i)*( b18*(1.d0+dudx) + b16*dudz ) )
650 ( s11(2,
i)*b16*dvdx + s22(2,
i)*b17*(1.d0+dvdy) + s33(2,
i)*b18*dvdz &
651 + s12(2,
i)*( b16*(1.d0+dvdy) + b17*dvdx ) &
652 + s23(2,
i)*( b18*(1.d0+dvdy) + b17*dvdz ) &
653 + s13(2,
i)*( b18*dvdx + b16*dvdz ) )
655 ( s11(2,
i)*b16*dwdx + s22(2,
i)*b17*dwdy + s33(2,
i)*b18*(1.d0+dwdz) &
656 + s12(2,
i)*( b17*dwdx + b16*dwdy ) &
657 + s23(2,
i)*( b18*dwdy + b17*(1.d0 + dwdz) ) &
658 + s13(2,
i)*( b18*dwdx + b16*(1.d0 + dwdz) ) )
661 ( s11(2,
i)*b19*(1.d0+dudx) + s22(2,
i)*b20*dudy + s33(2,
i)*b21*dudz &
662 + s12(2,
i)*( b20*(1.d0+dudx) + b19*dudy ) &
663 + s23(2,
i)*( b21*dudy + b20*dudz ) &
664 + s13(2,
i)*( b21*(1.d0+dudx) + b19*dudz ) )
666 ( s11(2,
i)*b19*dvdx + s22(2,
i)*b20*(1.d0+dvdy) + s33(2,
i)*b21*dvdz &
667 + s12(2,
i)*( b19*(1.d0+dvdy) + b20*dvdx ) &
668 + s23(2,
i)*( b21*(1.d0+dvdy) + b20*dvdz ) &
669 + s13(2,
i)*( b21*dvdx + b19*dvdz ) )
671 ( s11(2,
i)*b19*dwdx + s22(2,
i)*b20*dwdy + s33(2,
i)*b21*(1.d0+dwdz) &
672 + s12(2,
i)*( b20*dwdx + b19*dwdy ) &
673 + s23(2,
i)*( b21*dwdy + b20*(1.d0 + dwdz) ) &
674 + s13(2,
i)*( b21*dwdx + b19*(1.d0 + dwdz) ) )
677 ( s11(2,
i)*b22*(1.d0+dudx) + s22(2,
i)*b23*dudy+s33(2,
i)*b24*dudz &
678 + s12(2,
i)*( b23*(1.d0+dudx) + b22*dudy ) &
679 + s23(2,
i)*( b24*dudy + b23*dudz ) &
680 + s13(2,
i)*( b24*(1.d0+dudx) + b22*dudz ) )
682 ( s11(2,
i)*b22*dvdx + s22(2,
i)*b23*(1.d0+dvdy)+s33(2,
i)*b24*dvdz &
683 + s12(2,
i)*( b22*(1.d0+dvdy) + b23*dvdx ) &
684 + s23(2,
i)*( b24*(1.d0+dvdy) + b23*dvdz ) &
685 + s13(2,
i)*( b24*dvdx + b22*dvdz ) )
687 ( s11(2,
i)*b22*dwdx + s22(2,
i)*b23*dwdy+s33(2,
i)*b24*(1.d0+dwdz) &
688 + s12(2,
i)*( b23*dwdx + b22*dwdy ) &
689 + s23(2,
i)*( b24*dwdy + b23*(1.d0 + dwdz) ) &
690 + s13(2,
i)*( b24*dwdx + b22*(1.d0 + dwdz) ) )
693 ( s11(2,
i)*b25*(1.d0+dudx) + s22(2,
i)*b26*dudy+s33(2,
i)*b27*dudz &
694 + s12(2,
i)*( b26*(1.d0+dudx) + b25*dudy ) &
695 + s23(2,
i)*( b27*dudy + b26*dudz ) &
696 + s13(2,
i)*( b27*(1.d0+dudx) + b25*dudz ) )
698 ( s11(2,
i)*b25*dvdx + s22(2,
i)*b26*(1.d0+dvdy)+s33(2,
i)*b27*dvdz &
699 + s12(2,
i)*( b25*(1.d0+dvdy) + b26*dvdx ) &
700 + s23(2,
i)*( b27*(1.d0+dvdy) + b26*dvdz ) &
701 + s13(2,
i)*( b27*dvdx + b25*dvdz ) )
703 ( s11(2,
i)*b25*dwdx + s22(2,
i)*b26*dwdy+s33(2,
i)*b27*(1.d0+dwdz) &
704 + s12(2,
i)*( b26*dwdx + b25*dwdy ) &
705 + s23(2,
i)*( b27*dwdy + b26*(1.d0 + dwdz) ) &
706 + s13(2,
i)*( b27*dwdx + b25*(1.d0 + dwdz) ) )
709 ( s11(2,
i)*b28*(1.d0+dudx) + s22(2,
i)*b29*dudy+s33(2,
i)*b30*dudz &
710 + s12(2,
i)*( b29*(1.d0+dudx) + b28*dudy ) &
711 + s23(2,
i)*( b30*dudy + b29*dudz ) &
712 + s13(2,
i)*( b30*(1.d0+dudx) + b28*dudz ) )
714 ( s11(2,
i)*b28*dvdx + s22(2,
i)*b29*(1.d0+dvdy)+s33(2,
i)*b30*dvdz &
715 + s12(2,
i)*( b28*(1.d0+dvdy) + b29*dvdx ) &
716 + s23(2,
i)*( b30*(1.d0+dvdy) + b29*dvdz ) &
717 + s13(2,
i)*( b30*dvdx + b28*dvdz ) )
719 ( s11(2,
i)*b28*dwdx + s22(2,
i)*b29*dwdy+s33(2,
i)*b30*(1.d0+dwdz) &
720 + s12(2,
i)*( b29*dwdx + b28*dwdy ) &
721 + s23(2,
i)*( b30*dwdy + b29*(1.d0 + dwdz) ) &
722 + s13(2,
i)*( b30*dwdx + b28*(1.d0 + dwdz) ) )
754 b13 = 4.d0*(g2*aux1 + g1*aux4)
755 b14 = 4.d0*(g2*aux2 + g1*aux5)
756 b15 = 4.d0*(g2*aux3 + g1*aux6)
758 b16 = 4.d0*(g3*aux4 + g2*aux7)
759 b17 = 4.d0*(g3*aux5 + g2*aux8)
760 b18 = 4.d0*(g3*aux6 + g2*aux9)
762 b19 = 4.d0*(g1*aux7 + g3*aux1)
763 b20 = 4.d0*(g1*aux8 + g3*aux2)
764 b21 = 4.d0*(g1*aux9 + g3*aux3)
766 b22 = 4.d0*(g4*aux1 + g1*aux10)
767 b23 = 4.d0*(g4*aux2 + g1*aux11)
768 b24 = 4.d0*(g4*aux3 + g1*aux12)
770 b25 = 4.d0*(g4*aux4 + g2*aux10)
771 b26 = 4.d0*(g4*aux5 + g2*aux11)
772 b27 = 4.d0*(g4*aux6 + g2*aux12)
774 b28 = 4.d0*(g4*aux7 + g3*aux10)
775 b29 = 4.d0*(g4*aux8 + g3*aux11)
776 b30 = 4.d0*(g4*aux9 + g3*aux12)
778 dudx = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10)*vx6inv
779 dvdy = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10)*vx6inv
780 dwdz = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10)*vx6inv
781 dudy = (b2*u1 + b5*u2 + b8*u3 + b11*u4 + b14*u5 + b17*u6 + b20*u7 + b23*u8 + b26*u9 + b29*u10)*vx6inv
782 dvdx = (b1*v1 + b4*v2 + b7*v3 + b10*v4 + b13*v5 + b16*v6 + b19*v7 + b22*v8 + b25*v9 + b28*v10)*vx6inv
783 dvdz = (b3*v1 + b6*v2 + b9*v3 + b12*v4 + b15*v5 + b18*v6 + b21*v7 + b24*v8 + b27*v9 + b30*v10)*vx6inv
784 dwdy = (b2*w1 + b5*w2 + b8*w3 + b11*w4 + b14*w5 + b17*w6 + b20*w7 + b23*w8 + b26*w9 + b29*w10)*vx6inv
785 dudz = (b3*u1 + b6*u2 + b9*u3 + b12*u4 + b15*u5 + b18*u6 + b21*u7 + b24*u8 + b27*u9 + b30*u10)*vx6inv
786 dwdx = (b1*w1 + b4*w2 + b7*w3 + b10*w4 + b13*w5 + b16*w6 + b19*w7 + b22*w8 + b25*w9 + b28*w10)*vx6inv
789 e11 = dudx + 0.5d0*(dudx*dudx + dvdx*dvdx + dwdx*dwdx)
790 e22 = dvdy + 0.5d0*(dudy*dudy + dvdy*dvdy + dwdy*dwdy)
791 e33 = dwdz + 0.5d0*(dudz*dudz + dvdz*dvdz + dwdz*dwdz)
792 e12 = dudy + dvdx + ( dudx*dudy + dvdx*dvdy + dwdx*dwdy )
793 e23 = dvdz + dwdy + ( dudy*dudz + dvdy*dvdz + dwdy*dwdz )
794 e13 = dwdx + dudz + ( dudz*dudx + dvdz*dvdx + dwdz*dwdx )
798 s11(3,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
799 s22(3,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
800 s33(3,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
801 s12(3,
i) = e12*ci(7,
j)
802 s23(3,
i) = e23*ci(8,
j)
803 s13(3,
i) = e13*ci(9,
j)
806 ( s11(3,
i)*b1*(1.d0+dudx) + s22(3,
i)*b2*dudy + s33(3,
i)*b3*dudz &
807 + s12(3,
i)*( b2*(1.d0+dudx) + b1*dudy ) &
808 + s23(3,
i)*( b3*dudy + b2*dudz ) &
809 + s13(3,
i)*( b3*(1.d0+dudx) + b1*dudz ) )
811 ( s11(3,
i)*b1*dvdx + s22(3,
i)*b2*(1.d0+dvdy) + s33(3,
i)*b3*dvdz &
812 + s12(3,
i)*( b1*(1.d0+dvdy) + b2*dvdx ) &
813 + s23(3,
i)*( b3*(1.d0+dvdy) + b2*dvdz ) &
814 + s13(3,
i)*( b3*dvdx + b1*dvdz ) )
816 ( s11(3,
i)*b1*dwdx + s22(3,
i)*b2*dwdy + s33(3,
i)*b3*(1.d0+dwdz) &
817 + s12(3,
i)*( b2*dwdx + b1*dwdy ) &
818 + s23(3,
i)*( b3*dwdy + b2*(1.d0 + dwdz) ) &
819 + s13(3,
i)*( b3*dwdx + b1*(1.d0 + dwdz) ) )
822 ( s11(3,
i)*b4*(1.d0+dudx) + s22(3,
i)*b5*dudy + s33(3,
i)*b6*dudz &
823 + s12(3,
i)*( b5*(1.d0+dudx) + b4*dudy ) &
824 + s23(3,
i)*( b6*dudy + b5*dudz ) &
825 + s13(3,
i)*( b6*(1.d0+dudx) + b4*dudz ) )
827 ( s11(3,
i)*b4*dvdx + s22(3,
i)*b5*(1.d0+dvdy) + s33(3,
i)*b6*dvdz &
828 + s12(3,
i)*( b4*(1.d0+dvdy) + b5*dvdx ) &
829 + s23(3,
i)*( b6*(1.d0+dvdy) + b5*dvdz ) &
830 + s13(3,
i)*( b6*dvdx + b4*dvdz ) )
832 ( s11(3,
i)*b4*dwdx + s22(3,
i)*b5*dwdy + s33(3,
i)*b6*(1.d0+dwdz) &
833 + s12(3,
i)*( b5*dwdx + b4*dwdy ) &
834 + s23(3,
i)*( b6*dwdy + b5*(1.d0 + dwdz) ) &
835 + s13(3,
i)*( b6*dwdx + b4*(1.d0 + dwdz) ) )
838 ( s11(3,
i)*b7*(1.d0+dudx) + s22(3,
i)*b8*dudy + s33(3,
i)*b9*dudz &
839 + s12(3,
i)*( b8*(1.d0+dudx) + b7*dudy ) &
840 + s23(3,
i)*( b9*dudy + b8*dudz ) &
841 + s13(3,
i)*( b9*(1.d0+dudx) + b7*dudz ) )
843 ( s11(3,
i)*b7*dvdx + s22(3,
i)*b8*(1.d0+dvdy) + s33(3,
i)*b9*dvdz &
844 + s12(3,
i)*( b7*(1.d0+dvdy) + b8*dvdx ) &
845 + s23(3,
i)*( b9*(1.d0+dvdy) + b8*dvdz ) &
846 + s13(3,
i)*( b9*dvdx + b7*dvdz ) )
848 ( s11(3,
i)*b7*dwdx + s22(3,
i)*b8*dwdy + s33(3,
i)*b9*(1.d0+dwdz) &
849 + s12(3,
i)*( b8*dwdx + b7*dwdy ) &
850 + s23(3,
i)*( b9*dwdy + b8*(1.d0 + dwdz) ) &
851 + s13(3,
i)*( b9*dwdx + b7*(1.d0 + dwdz) ) )
854 ( s11(3,
i)*b10*(1.d0+dudx) + s22(3,
i)*b11*dudy+s33(3,
i)*b12*dudz &
855 + s12(3,
i)*( b11*(1.d0+dudx) + b10*dudy ) &
856 + s23(3,
i)*( b12*dudy + b11*dudz ) &
857 + s13(3,
i)*( b12*(1.d0+dudx) + b10*dudz ) )
859 ( s11(3,
i)*b10*dvdx + s22(3,
i)*b11*(1.d0+dvdy)+s33(3,
i)*b12*dvdz &
860 + s12(3,
i)*( b10*(1.d0+dvdy) + b11*dvdx ) &
861 + s23(3,
i)*( b12*(1.d0+dvdy) + b11*dvdz ) &
862 + s13(3,
i)*( b12*dvdx + b10*dvdz ) )
864 ( s11(3,
i)*b10*dwdx + s22(3,
i)*b11*dwdy+s33(3,
i)*b12*(1.d0+dwdz) &
865 + s12(3,
i)*( b11*dwdx + b10*dwdy ) &
866 + s23(3,
i)*( b12*dwdy + b11*(1.d0 + dwdz) ) &
867 + s13(3,
i)*( b12*dwdx + b10*(1.d0 + dwdz) ) )
870 ( s11(3,
i)*b13*(1.d0+dudx) + s22(3,
i)*b14*dudy + s33(3,
i)*b15*dudz &
871 + s12(3,
i)*( b14*(1.d0+dudx) + b13*dudy ) &
872 + s23(3,
i)*( b15*dudy + b14*dudz ) &
873 + s13(3,
i)*( b15*(1.d0+dudx) + b13*dudz ) )
875 ( s11(3,
i)*b13*dvdx + s22(3,
i)*b14*(1.d0+dvdy) + s33(3,
i)*b15*dvdz &
876 + s12(3,
i)*( b13*(1.d0+dvdy) + b14*dvdx ) &
877 + s23(3,
i)*( b15*(1.d0+dvdy) + b14*dvdz ) &
878 + s13(3,
i)*( b15*dvdx + b13*dvdz ) )
880 ( s11(3,
i)*b13*dwdx + s22(3,
i)*b14*dwdy + s33(3,
i)*b15*(1.d0+dwdz) &
881 + s12(3,
i)*( b14*dwdx + b13*dwdy ) &
882 + s23(3,
i)*( b15*dwdy + b14*(1.d0 + dwdz) ) &
883 + s13(3,
i)*( b15*dwdx + b13*(1.d0 + dwdz) ) )
886 ( s11(3,
i)*b16*(1.d0+dudx) + s22(3,
i)*b17*dudy + s33(3,
i)*b18*dudz &
887 + s12(3,
i)*( b17*(1.d0+dudx) + b16*dudy ) &
888 + s23(3,
i)*( b18*dudy + b17*dudz ) &
889 + s13(3,
i)*( b18*(1.d0+dudx) + b16*dudz ) )
891 ( s11(3,
i)*b16*dvdx + s22(3,
i)*b17*(1.d0+dvdy) + s33(3,
i)*b18*dvdz &
892 + s12(3,
i)*( b16*(1.d0+dvdy) + b17*dvdx ) &
893 + s23(3,
i)*( b18*(1.d0+dvdy) + b17*dvdz ) &
894 + s13(3,
i)*( b18*dvdx + b16*dvdz ) )
896 ( s11(3,
i)*b16*dwdx + s22(3,
i)*b17*dwdy + s33(3,
i)*b18*(1.d0+dwdz) &
897 + s12(3,
i)*( b17*dwdx + b16*dwdy ) &
898 + s23(3,
i)*( b18*dwdy + b17*(1.d0 + dwdz) ) &
899 + s13(3,
i)*( b18*dwdx + b16*(1.d0 + dwdz) ) )
902 ( s11(3,
i)*b19*(1.d0+dudx) + s22(3,
i)*b20*dudy + s33(3,
i)*b21*dudz &
903 + s12(3,
i)*( b20*(1.d0+dudx) + b19*dudy ) &
904 + s23(3,
i)*( b21*dudy + b20*dudz ) &
905 + s13(3,
i)*( b21*(1.d0+dudx) + b19*dudz ) )
907 ( s11(3,
i)*b19*dvdx + s22(3,
i)*b20*(1.d0+dvdy) + s33(3,
i)*b21*dvdz &
908 + s12(3,
i)*( b19*(1.d0+dvdy) + b20*dvdx ) &
909 + s23(3,
i)*( b21*(1.d0+dvdy) + b20*dvdz ) &
910 + s13(3,
i)*( b21*dvdx + b19*dvdz ) )
912 ( s11(3,
i)*b19*dwdx + s22(3,
i)*b20*dwdy + s33(3,
i)*b21*(1.d0+dwdz) &
913 + s12(3,
i)*( b20*dwdx + b19*dwdy ) &
914 + s23(3,
i)*( b21*dwdy + b20*(1.d0 + dwdz) ) &
915 + s13(3,
i)*( b21*dwdx + b19*(1.d0 + dwdz) ) )
918 ( s11(3,
i)*b22*(1.d0+dudx) + s22(3,
i)*b23*dudy+s33(3,
i)*b24*dudz &
919 + s12(3,
i)*( b23*(1.d0+dudx) + b22*dudy ) &
920 + s23(3,
i)*( b24*dudy + b23*dudz ) &
921 + s13(3,
i)*( b24*(1.d0+dudx) + b22*dudz ) )
923 ( s11(3,
i)*b22*dvdx + s22(3,
i)*b23*(1.d0+dvdy)+s33(3,
i)*b24*dvdz &
924 + s12(3,
i)*( b22*(1.d0+dvdy) + b23*dvdx ) &
925 + s23(3,
i)*( b24*(1.d0+dvdy) + b23*dvdz ) &
926 + s13(3,
i)*( b24*dvdx + b22*dvdz ) )
928 ( s11(3,
i)*b22*dwdx + s22(3,
i)*b23*dwdy+s33(3,
i)*b24*(1.d0+dwdz) &
929 + s12(3,
i)*( b23*dwdx + b22*dwdy ) &
930 + s23(3,
i)*( b24*dwdy + b23*(1.d0 + dwdz) ) &
931 + s13(3,
i)*( b24*dwdx + b22*(1.d0 + dwdz) ) )
934 ( s11(3,
i)*b25*(1.d0+dudx) + s22(3,
i)*b26*dudy+s33(3,
i)*b27*dudz &
935 + s12(3,
i)*( b26*(1.d0+dudx) + b25*dudy ) &
936 + s23(3,
i)*( b27*dudy + b26*dudz ) &
937 + s13(3,
i)*( b27*(1.d0+dudx) + b25*dudz ) )
939 ( s11(3,
i)*b25*dvdx + s22(3,
i)*b26*(1.d0+dvdy)+s33(3,
i)*b27*dvdz &
940 + s12(3,
i)*( b25*(1.d0+dvdy) + b26*dvdx ) &
941 + s23(3,
i)*( b27*(1.d0+dvdy) + b26*dvdz ) &
942 + s13(3,
i)*( b27*dvdx + b25*dvdz ) )
944 ( s11(3,
i)*b25*dwdx + s22(3,
i)*b26*dwdy+s33(3,
i)*b27*(1.d0+dwdz) &
945 + s12(3,
i)*( b26*dwdx + b25*dwdy ) &
946 + s23(3,
i)*( b27*dwdy + b26*(1.d0 + dwdz) ) &
947 + s13(3,
i)*( b27*dwdx + b25*(1.d0 + dwdz) ) )
950 ( s11(3,
i)*b28*(1.d0+dudx) + s22(3,
i)*b29*dudy+s33(3,
i)*b30*dudz &
951 + s12(3,
i)*( b29*(1.d0+dudx) + b28*dudy ) &
952 + s23(3,
i)*( b30*dudy + b29*dudz ) &
953 + s13(3,
i)*( b30*(1.d0+dudx) + b28*dudz ) )
955 ( s11(3,
i)*b28*dvdx + s22(3,
i)*b29*(1.d0+dvdy)+s33(3,
i)*b30*dvdz &
956 + s12(3,
i)*( b28*(1.d0+dvdy) + b29*dvdx ) &
957 + s23(3,
i)*( b30*(1.d0+dvdy) + b29*dvdz ) &
958 + s13(3,
i)*( b30*dvdx + b28*dvdz ) )
960 ( s11(3,
i)*b28*dwdx + s22(3,
i)*b29*dwdy+s33(3,
i)*b30*(1.d0+dwdz) &
961 + s12(3,
i)*( b29*dwdx + b28*dwdy ) &
962 + s23(3,
i)*( b30*dwdy + b29*(1.d0 + dwdz) ) &
963 + s13(3,
i)*( b30*dwdx + b28*(1.d0 + dwdz) ) )
995 b13 = 4.d0*(g2*aux1 + g1*aux4)
996 b14 = 4.d0*(g2*aux2 + g1*aux5)
997 b15 = 4.d0*(g2*aux3 + g1*aux6)
999 b16 = 4.d0*(g3*aux4 + g2*aux7)
1000 b17 = 4.d0*(g3*aux5 + g2*aux8)
1001 b18 = 4.d0*(g3*aux6 + g2*aux9)
1003 b19 = 4.d0*(g1*aux7 + g3*aux1)
1004 b20 = 4.d0*(g1*aux8 + g3*aux2)
1005 b21 = 4.d0*(g1*aux9 + g3*aux3)
1007 b22 = 4.d0*(g4*aux1 + g1*aux10)
1008 b23 = 4.d0*(g4*aux2 + g1*aux11)
1009 b24 = 4.d0*(g4*aux3 + g1*aux12)
1011 b25 = 4.d0*(g4*aux4 + g2*aux10)
1012 b26 = 4.d0*(g4*aux5 + g2*aux11)
1013 b27 = 4.d0*(g4*aux6 + g2*aux12)
1015 b28 = 4.d0*(g4*aux7 + g3*aux10)
1016 b29 = 4.d0*(g4*aux8 + g3*aux11)
1017 b30 = 4.d0*(g4*aux9 + g3*aux12)
1019 dudx = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10)*vx6inv
1020 dvdy = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10)*vx6inv
1021 dwdz = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10)*vx6inv
1022 dudy = (b2*u1 + b5*u2 + b8*u3 + b11*u4 + b14*u5 + b17*u6 + b20*u7 + b23*u8 + b26*u9 + b29*u10)*vx6inv
1023 dvdx = (b1*v1 + b4*v2 + b7*v3 + b10*v4 + b13*v5 + b16*v6 + b19*v7 + b22*v8 + b25*v9 + b28*v10)*vx6inv
1024 dvdz = (b3*v1 + b6*v2 + b9*v3 + b12*v4 + b15*v5 + b18*v6 + b21*v7 + b24*v8 + b27*v9 + b30*v10)*vx6inv
1025 dwdy = (b2*w1 + b5*w2 + b8*w3 + b11*w4 + b14*w5 + b17*w6 + b20*w7 + b23*w8 + b26*w9 + b29*w10)*vx6inv
1026 dudz = (b3*u1 + b6*u2 + b9*u3 + b12*u4 + b15*u5 + b18*u6 + b21*u7 + b24*u8 + b27*u9 + b30*u10)*vx6inv
1027 dwdx = (b1*w1 + b4*w2 + b7*w3 + b10*w4 + b13*w5 + b16*w6 + b19*w7 + b22*w8 + b25*w9 + b28*w10)*vx6inv
1031 e11 = dudx + 0.5d0*(dudx*dudx + dvdx*dvdx + dwdx*dwdx)
1032 e22 = dvdy + 0.5d0*(dudy*dudy + dvdy*dvdy + dwdy*dwdy)
1033 e33 = dwdz + 0.5d0*(dudz*dudz + dvdz*dvdz + dwdz*dwdz)
1034 e12 = dudy + dvdx + ( dudx*dudy + dvdx*dvdy + dwdx*dwdy )
1035 e23 = dvdz + dwdy + ( dudy*dudz + dvdy*dvdz + dwdy*dwdz )
1036 e13 = dwdx + dudz + ( dudz*dudx + dvdz*dvdx + dwdz*dwdx )
1040 s11(4,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
1041 s22(4,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
1042 s33(4,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
1043 s12(4,
i) = e12*ci(7,
j)
1044 s23(4,
i) = e23*ci(8,
j)
1045 s13(4,
i) = e13*ci(9,
j)
1048 ( s11(4,
i)*b1*(1.d0+dudx) + s22(4,
i)*b2*dudy + s33(4,
i)*b3*dudz &
1049 + s12(4,
i)*( b2*(1.d0+dudx) + b1*dudy ) &
1050 + s23(4,
i)*( b3*dudy + b2*dudz ) &
1051 + s13(4,
i)*( b3*(1.d0+dudx) + b1*dudz ) )
1053 ( s11(4,
i)*b1*dvdx + s22(4,
i)*b2*(1.d0+dvdy) + s33(4,
i)*b3*dvdz &
1054 + s12(4,
i)*( b1*(1.d0+dvdy) + b2*dvdx ) &
1055 + s23(4,
i)*( b3*(1.d0+dvdy) + b2*dvdz ) &
1056 + s13(4,
i)*( b3*dvdx + b1*dvdz ) )
1058 ( s11(4,
i)*b1*dwdx + s22(4,
i)*b2*dwdy + s33(4,
i)*b3*(1.d0+dwdz) &
1059 + s12(4,
i)*( b2*dwdx + b1*dwdy ) &
1060 + s23(4,
i)*( b3*dwdy + b2*(1.d0 + dwdz) ) &
1061 + s13(4,
i)*( b3*dwdx + b1*(1.d0 + dwdz) ) )
1064 ( s11(4,
i)*b4*(1.d0+dudx) + s22(4,
i)*b5*dudy + s33(4,
i)*b6*dudz &
1065 + s12(4,
i)*( b5*(1.d0+dudx) + b4*dudy ) &
1066 + s23(4,
i)*( b6*dudy + b5*dudz ) &
1067 + s13(4,
i)*( b6*(1.d0+dudx) + b4*dudz ) )
1069 ( s11(4,
i)*b4*dvdx + s22(4,
i)*b5*(1.d0+dvdy) + s33(4,
i)*b6*dvdz &
1070 + s12(4,
i)*( b4*(1.d0+dvdy) + b5*dvdx ) &
1071 + s23(4,
i)*( b6*(1.d0+dvdy) + b5*dvdz ) &
1072 + s13(4,
i)*( b6*dvdx + b4*dvdz ) )
1074 ( s11(4,
i)*b4*dwdx + s22(4,
i)*b5*dwdy + s33(4,
i)*b6*(1.d0+dwdz) &
1075 + s12(4,
i)*( b5*dwdx + b4*dwdy ) &
1076 + s23(4,
i)*( b6*dwdy + b5*(1.d0 + dwdz) ) &
1077 + s13(4,
i)*( b6*dwdx + b4*(1.d0 + dwdz) ) )
1080 ( s11(4,
i)*b7*(1.d0+dudx) + s22(4,
i)*b8*dudy + s33(4,
i)*b9*dudz &
1081 + s12(4,
i)*( b8*(1.d0+dudx) + b7*dudy ) &
1082 + s23(4,
i)*( b9*dudy + b8*dudz ) &
1083 + s13(4,
i)*( b9*(1.d0+dudx) + b7*dudz ) )
1085 ( s11(4,
i)*b7*dvdx + s22(4,
i)*b8*(1.d0+dvdy) + s33(4,
i)*b9*dvdz &
1086 + s12(4,
i)*( b7*(1.d0+dvdy) + b8*dvdx ) &
1087 + s23(4,
i)*( b9*(1.d0+dvdy) + b8*dvdz ) &
1088 + s13(4,
i)*( b9*dvdx + b7*dvdz ) )
1090 ( s11(4,
i)*b7*dwdx + s22(4,
i)*b8*dwdy + s33(4,
i)*b9*(1.d0+dwdz) &
1091 + s12(4,
i)*( b8*dwdx + b7*dwdy ) &
1092 + s23(4,
i)*( b9*dwdy + b8*(1.d0 + dwdz) ) &
1093 + s13(4,
i)*( b9*dwdx + b7*(1.d0 + dwdz) ) )
1096 ( s11(4,
i)*b10*(1.d0+dudx) + s22(4,
i)*b11*dudy+s33(4,
i)*b12*dudz &
1097 + s12(4,
i)*( b11*(1.d0+dudx) + b10*dudy ) &
1098 + s23(4,
i)*( b12*dudy + b11*dudz ) &
1099 + s13(4,
i)*( b12*(1.d0+dudx) + b10*dudz ) )
1101 ( s11(4,
i)*b10*dvdx + s22(4,
i)*b11*(1.d0+dvdy)+s33(4,
i)*b12*dvdz &
1102 + s12(4,
i)*( b10*(1.d0+dvdy) + b11*dvdx ) &
1103 + s23(4,
i)*( b12*(1.d0+dvdy) + b11*dvdz ) &
1104 + s13(4,
i)*( b12*dvdx + b10*dvdz ) )
1106 ( s11(4,
i)*b10*dwdx + s22(4,
i)*b11*dwdy+s33(4,
i)*b12*(1.d0+dwdz) &
1107 + s12(4,
i)*( b11*dwdx + b10*dwdy ) &
1108 + s23(4,
i)*( b12*dwdy + b11*(1.d0 + dwdz) ) &
1109 + s13(4,
i)*( b12*dwdx + b10*(1.d0 + dwdz) ) )
1112 ( s11(4,
i)*b13*(1.d0+dudx) + s22(4,
i)*b14*dudy + s33(4,
i)*b15*dudz &
1113 + s12(4,
i)*( b14*(1.d0+dudx) + b13*dudy ) &
1114 + s23(4,
i)*( b15*dudy + b14*dudz ) &
1115 + s13(4,
i)*( b15*(1.d0+dudx) + b13*dudz ) )
1117 ( s11(4,
i)*b13*dvdx + s22(4,
i)*b14*(1.d0+dvdy) + s33(4,
i)*b15*dvdz &
1118 + s12(4,
i)*( b13*(1.d0+dvdy) + b14*dvdx ) &
1119 + s23(4,
i)*( b15*(1.d0+dvdy) + b14*dvdz ) &
1120 + s13(4,
i)*( b15*dvdx + b13*dvdz ) )
1122 ( s11(4,
i)*b13*dwdx + s22(4,
i)*b14*dwdy + s33(4,
i)*b15*(1.d0+dwdz) &
1123 + s12(4,
i)*( b14*dwdx + b13*dwdy ) &
1124 + s23(4,
i)*( b15*dwdy + b14*(1.d0 + dwdz) ) &
1125 + s13(4,
i)*( b15*dwdx + b13*(1.d0 + dwdz) ) )
1128 ( s11(4,
i)*b16*(1.d0+dudx) + s22(4,
i)*b17*dudy + s33(4,
i)*b18*dudz &
1129 + s12(4,
i)*( b17*(1.d0+dudx) + b16*dudy ) &
1130 + s23(4,
i)*( b18*dudy + b17*dudz ) &
1131 + s13(4,
i)*( b18*(1.d0+dudx) + b16*dudz ) )
1133 ( s11(4,
i)*b16*dvdx + s22(4,
i)*b17*(1.d0+dvdy) + s33(4,
i)*b18*dvdz &
1134 + s12(4,
i)*( b16*(1.d0+dvdy) + b17*dvdx ) &
1135 + s23(4,
i)*( b18*(1.d0+dvdy) + b17*dvdz ) &
1136 + s13(4,
i)*( b18*dvdx + b16*dvdz ) )
1138 ( s11(4,
i)*b16*dwdx + s22(4,
i)*b17*dwdy + s33(4,
i)*b18*(1.d0+dwdz) &
1139 + s12(4,
i)*( b17*dwdx + b16*dwdy ) &
1140 + s23(4,
i)*( b18*dwdy + b17*(1.d0 + dwdz) ) &
1141 + s13(4,
i)*( b18*dwdx + b16*(1.d0 + dwdz) ) )
1144 ( s11(4,
i)*b19*(1.d0+dudx) + s22(4,
i)*b20*dudy + s33(4,
i)*b21*dudz &
1145 + s12(4,
i)*( b20*(1.d0+dudx) + b19*dudy ) &
1146 + s23(4,
i)*( b21*dudy + b20*dudz ) &
1147 + s13(4,
i)*( b21*(1.d0+dudx) + b19*dudz ) )
1149 ( s11(4,
i)*b19*dvdx + s22(4,
i)*b20*(1.d0+dvdy) + s33(4,
i)*b21*dvdz &
1150 + s12(4,
i)*( b19*(1.d0+dvdy) + b20*dvdx ) &
1151 + s23(4,
i)*( b21*(1.d0+dvdy) + b20*dvdz ) &
1152 + s13(4,
i)*( b21*dvdx + b19*dvdz ) )
1154 ( s11(4,
i)*b19*dwdx + s22(4,
i)*b20*dwdy + s33(4,
i)*b21*(1.d0+dwdz) &
1155 + s12(4,
i)*( b20*dwdx + b19*dwdy ) &
1156 + s23(4,
i)*( b21*dwdy + b20*(1.d0 + dwdz) ) &
1157 + s13(4,
i)*( b21*dwdx + b19*(1.d0 + dwdz) ) )
1160 ( s11(4,
i)*b22*(1.d0+dudx) + s22(4,
i)*b23*dudy+s33(4,
i)*b24*dudz &
1161 + s12(4,
i)*( b23*(1.d0+dudx) + b22*dudy ) &
1162 + s23(4,
i)*( b24*dudy + b23*dudz ) &
1163 + s13(4,
i)*( b24*(1.d0+dudx) + b22*dudz ) )
1165 ( s11(4,
i)*b22*dvdx + s22(4,
i)*b23*(1.d0+dvdy)+s33(4,
i)*b24*dvdz &
1166 + s12(4,
i)*( b22*(1.d0+dvdy) + b23*dvdx ) &
1167 + s23(4,
i)*( b24*(1.d0+dvdy) + b23*dvdz ) &
1168 + s13(4,
i)*( b24*dvdx + b22*dvdz ) )
1170 ( s11(4,
i)*b22*dwdx + s22(4,
i)*b23*dwdy+s33(4,
i)*b24*(1.d0+dwdz) &
1171 + s12(4,
i)*( b23*dwdx + b22*dwdy ) &
1172 + s23(4,
i)*( b24*dwdy + b23*(1.d0 + dwdz) ) &
1173 + s13(4,
i)*( b24*dwdx + b22*(1.d0 + dwdz) ) )
1176 ( s11(4,
i)*b25*(1.d0+dudx) + s22(4,
i)*b26*dudy+s33(4,
i)*b27*dudz &
1177 + s12(4,
i)*( b26*(1.d0+dudx) + b25*dudy ) &
1178 + s23(4,
i)*( b27*dudy + b26*dudz ) &
1179 + s13(4,
i)*( b27*(1.d0+dudx) + b25*dudz ) )
1181 ( s11(4,
i)*b25*dvdx + s22(4,
i)*b26*(1.d0+dvdy)+s33(4,
i)*b27*dvdz &
1182 + s12(4,
i)*( b25*(1.d0+dvdy) + b26*dvdx ) &
1183 + s23(4,
i)*( b27*(1.d0+dvdy) + b26*dvdz ) &
1184 + s13(4,
i)*( b27*dvdx + b25*dvdz ) )
1186 ( s11(4,
i)*b25*dwdx + s22(4,
i)*b26*dwdy+s33(4,
i)*b27*(1.d0+dwdz) &
1187 + s12(4,
i)*( b26*dwdx + b25*dwdy ) &
1188 + s23(4,
i)*( b27*dwdy + b26*(1.d0 + dwdz) ) &
1189 + s13(4,
i)*( b27*dwdx + b25*(1.d0 + dwdz) ) )
1192 ( s11(4,
i)*b28*(1.d0+dudx) + s22(4,
i)*b29*dudy+s33(4,
i)*b30*dudz &
1193 + s12(4,
i)*( b29*(1.d0+dudx) + b28*dudy ) &
1194 + s23(4,
i)*( b30*dudy + b29*dudz ) &
1195 + s13(4,
i)*( b30*(1.d0+dudx) + b28*dudz ) )
1197 ( s11(4,
i)*b28*dvdx + s22(4,
i)*b29*(1.d0+dvdy)+s33(4,
i)*b30*dvdz &
1198 + s12(4,
i)*( b28*(1.d0+dvdy) + b29*dvdx ) &
1199 + s23(4,
i)*( b30*(1.d0+dvdy) + b29*dvdz ) &
1200 + s13(4,
i)*( b30*dvdx + b28*dvdz ) )
1202 ( s11(4,
i)*b28*dwdx + s22(4,
i)*b29*dwdy+s33(4,
i)*b30*(1.d0+dwdz) &
1203 + s12(4,
i)*( b29*dwdx + b28*dwdy ) &
1204 + s23(4,
i)*( b30*dwdy + b29*(1.d0 + dwdz) ) &
1205 + s13(4,
i)*( b30*dwdx + b28*(1.d0 + dwdz) ) )
1215 r_in(k1n1) = r_in(k1n1) - r1*0.04166666666666667d0
1216 r_in(k2n1) = r_in(k2n1) - r2*0.04166666666666667d0
1217 r_in(k3n1) = r_in(k3n1) - r3*0.04166666666666667d0
1219 r_in(k1n2) = r_in(k1n2) - r4*0.04166666666666667d0
1220 r_in(k2n2) = r_in(k2n2) - r5*0.04166666666666667d0
1221 r_in(k3n2) = r_in(k3n2) - r6*0.04166666666666667d0
1223 r_in(k1n3) = r_in(k1n3) - r7*0.04166666666666667d0
1224 r_in(k2n3) = r_in(k2n3) - r8*0.04166666666666667d0
1225 r_in(k3n3) = r_in(k3n3) - r9*0.04166666666666667d0
1227 r_in(k1n4) = r_in(k1n4) - r10*0.04166666666666667d0
1228 r_in(k2n4) = r_in(k2n4) - r11*0.04166666666666667d0
1229 r_in(k3n4) = r_in(k3n4) - r12*0.04166666666666667d0
1231 r_in(k1n5) = r_in(k1n5) - r13*0.04166666666666667d0
1232 r_in(k2n5) = r_in(k2n5) - r14*0.04166666666666667d0
1233 r_in(k3n5) = r_in(k3n5) - r15*0.04166666666666667d0
1235 r_in(k1n6) = r_in(k1n6) - r16*0.04166666666666667d0
1236 r_in(k2n6) = r_in(k2n6) - r17*0.04166666666666667d0
1237 r_in(k3n6) = r_in(k3n6) - r18*0.04166666666666667d0
1239 r_in(k1n7) = r_in(k1n7) - r19*0.04166666666666667d0
1240 r_in(k2n7) = r_in(k2n7) - r20*0.04166666666666667d0
1241 r_in(k3n7) = r_in(k3n7) - r21*0.04166666666666667d0
1243 r_in(k1n8) = r_in(k1n8) - r22*0.04166666666666667d0
1244 r_in(k2n8) = r_in(k2n8) - r23*0.04166666666666667d0
1245 r_in(k3n8) = r_in(k3n8) - r24*0.04166666666666667d0
1247 r_in(k1n9) = r_in(k1n9) - r25*0.04166666666666667d0
1248 r_in(k2n9) = r_in(k2n9) - r26*0.04166666666666667d0
1249 r_in(k3n9) = r_in(k3n9) - r27*0.04166666666666667d0
1251 r_in(k1n10) = r_in(k1n10) - r28*0.04166666666666667d0
1252 r_in(k2n10) = r_in(k2n10) - r29*0.04166666666666667d0
1253 r_in(k3n10) = r_in(k3n10) - r30*0.04166666666666667d0
1298 dudx = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10)*vx6inv
1299 dvdy = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10)*vx6inv
1300 dwdz = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10)*vx6inv
1301 dudy = (b2*u1 + b5*u2 + b8*u3 + b11*u4 + b14*u5 + b17*u6 + b20*u7 + b23*u8 + b26*u9 + b29*u10)*vx6inv
1302 dvdx = (b1*v1 + b4*v2 + b7*v3 + b10*v4 + b13*v5 + b16*v6 + b19*v7 + b22*v8 + b25*v9 + b28*v10)*vx6inv
1303 dvdz = (b3*v1 + b6*v2 + b9*v3 + b12*v4 + b15*v5 + b18*v6 + b21*v7 + b24*v8 + b27*v9 + b30*v10)*vx6inv
1304 dwdy = (b2*w1 + b5*w2 + b8*w3 + b11*w4 + b14*w5 + b17*w6 + b20*w7 + b23*w8 + b26*w9 + b29*w10)*vx6inv
1305 dudz = (b3*u1 + b6*u2 + b9*u3 + b12*u4 + b15*u5 + b18*u6 + b21*u7 + b24*u8 + b27*u9 + b30*u10)*vx6inv
1306 dwdx = (b1*w1 + b4*w2 + b7*w3 + b10*w4 + b13*w5 + b16*w6 + b19*w7 + b22*w8 + b25*w9 + b28*w10)*vx6inv
1310 e11 = dudx + 0.5d0*(dudx*dudx + dvdx*dvdx + dwdx*dwdx)
1311 e22 = dvdy + 0.5d0*(dudy*dudy + dvdy*dvdy + dwdy*dwdy)
1312 e33 = dwdz + 0.5d0*(dudz*dudz + dvdz*dvdz + dwdz*dwdz)
1313 e12 = dudy + dvdx + ( dudx*dudy + dvdx*dvdy + dwdx*dwdy )
1314 e23 = dvdz + dwdy + ( dudy*dudz + dvdy*dvdz + dwdy*dwdz )
1315 e13 = dwdx + dudz + ( dudz*dudx + dvdz*dvdx + dwdz*dwdx )
1319 s11(1,
i) = e11*cj(1,
j) + e22*cj(2,
j) + e33*cj(4,
j)
1320 s22(1,
i) = e11*cj(2,
j) + e22*cj(3,
j) + e33*cj(5,
j)
1321 s33(1,
i) = e11*cj(4,
j) + e22*cj(5,
j) + e33*cj(6,
j)
1322 s12(1,
i) = e12*cj(7,
j)
1323 s23(1,
i) = e23*cj(8,
j)
1324 s13(1,
i) = e13*cj(9,
j)
1327 ( s11(1,
i)*b1*(1.d0+dudx) + s22(1,
i)*b2*dudy + s33(1,
i)*b3*dudz &
1328 + s12(1,
i)*( b2*(1.d0+dudx) + b1*dudy ) &
1329 + s23(1,
i)*( b3*dudy + b2*dudz ) &
1330 + s13(1,
i)*( b3*(1.d0+dudx) + b1*dudz ) )
1332 ( s11(1,
i)*b1*dvdx + s22(1,
i)*b2*(1.d0+dvdy) + s33(1,
i)*b3*dvdz &
1333 + s12(1,
i)*( b1*(1.d0+dvdy) + b2*dvdx ) &
1334 + s23(1,
i)*( b3*(1.d0+dvdy) + b2*dvdz ) &
1335 + s13(1,
i)*( b3*dvdx + b1*dvdz ) )
1337 ( s11(1,
i)*b1*dwdx + s22(1,
i)*b2*dwdy + s33(1,
i)*b3*(1.d0+dwdz) &
1338 + s12(1,
i)*( b2*dwdx + b1*dwdy ) &
1339 + s23(1,
i)*( b3*dwdy + b2*(1.d0 + dwdz) ) &
1340 + s13(1,
i)*( b3*dwdx + b1*(1.d0 + dwdz) ) )
1343 ( s11(1,
i)*b4*(1.d0+dudx) + s22(1,
i)*b5*dudy + s33(1,
i)*b6*dudz &
1344 + s12(1,
i)*( b5*(1.d0+dudx) + b4*dudy ) &
1345 + s23(1,
i)*( b6*dudy + b5*dudz ) &
1346 + s13(1,
i)*( b6*(1.d0+dudx) + b4*dudz ) )
1348 ( s11(1,
i)*b4*dvdx + s22(1,
i)*b5*(1.d0+dvdy) + s33(1,
i)*b6*dvdz &
1349 + s12(1,
i)*( b4*(1.d0+dvdy) + b5*dvdx ) &
1350 + s23(1,
i)*( b6*(1.d0+dvdy) + b5*dvdz ) &
1351 + s13(1,
i)*( b6*dvdx + b4*dvdz ) )
1353 ( s11(1,
i)*b4*dwdx + s22(1,
i)*b5*dwdy + s33(1,
i)*b6*(1.d0+dwdz) &
1354 + s12(1,
i)*( b5*dwdx + b4*dwdy ) &
1355 + s23(1,
i)*( b6*dwdy + b5*(1.d0 + dwdz) ) &
1356 + s13(1,
i)*( b6*dwdx + b4*(1.d0 + dwdz) ) )
1359 ( s11(1,
i)*b7*(1.d0+dudx) + s22(1,
i)*b8*dudy + s33(1,
i)*b9*dudz &
1360 + s12(1,
i)*( b8*(1.d0+dudx) + b7*dudy ) &
1361 + s23(1,
i)*( b9*dudy + b8*dudz ) &
1362 + s13(1,
i)*( b9*(1.d0+dudx) + b7*dudz ) )
1364 ( s11(1,
i)*b7*dvdx + s22(1,
i)*b8*(1.d0+dvdy) + s33(1,
i)*b9*dvdz &
1365 + s12(1,
i)*( b7*(1.d0+dvdy) + b8*dvdx ) &
1366 + s23(1,
i)*( b9*(1.d0+dvdy) + b8*dvdz ) &
1367 + s13(1,
i)*( b9*dvdx + b7*dvdz ) )
1369 ( s11(1,
i)*b7*dwdx + s22(1,
i)*b8*dwdy + s33(1,
i)*b9*(1.d0+dwdz) &
1370 + s12(1,
i)*( b8*dwdx + b7*dwdy ) &
1371 + s23(1,
i)*( b9*dwdy + b8*(1.d0 + dwdz) ) &
1372 + s13(1,
i)*( b9*dwdx + b7*(1.d0 + dwdz) ) )
1375 ( s11(1,
i)*b10*(1.d0+dudx) + s22(1,
i)*b11*dudy+s33(1,
i)*b12*dudz &
1376 + s12(1,
i)*( b11*(1.d0+dudx) + b10*dudy ) &
1377 + s23(1,
i)*( b12*dudy + b11*dudz ) &
1378 + s13(1,
i)*( b12*(1.d0+dudx) + b10*dudz ) )
1380 ( s11(1,
i)*b10*dvdx + s22(1,
i)*b11*(1.d0+dvdy)+s33(1,
i)*b12*dvdz &
1381 + s12(1,
i)*( b10*(1.d0+dvdy) + b11*dvdx ) &
1382 + s23(1,
i)*( b12*(1.d0+dvdy) + b11*dvdz ) &
1383 + s13(1,
i)*( b12*dvdx + b10*dvdz ) )
1385 ( s11(1,
i)*b10*dwdx + s22(1,
i)*b11*dwdy+s33(1,
i)*b12*(1.d0+dwdz) &
1386 + s12(1,
i)*( b11*dwdx + b10*dwdy ) &
1387 + s23(1,
i)*( b12*dwdy + b11*(1.d0 + dwdz) ) &
1388 + s13(1,
i)*( b12*dwdx + b10*(1.d0 + dwdz) ) )
1391 ( s11(1,
i)*b13*(1.d0+dudx) + s22(1,
i)*b14*dudy + s33(1,
i)*b15*dudz &
1392 + s12(1,
i)*( b14*(1.d0+dudx) + b13*dudy ) &
1393 + s23(1,
i)*( b15*dudy + b14*dudz ) &
1394 + s13(1,
i)*( b15*(1.d0+dudx) + b13*dudz ) )
1396 ( s11(1,
i)*b13*dvdx + s22(1,
i)*b14*(1.d0+dvdy) + s33(1,
i)*b15*dvdz &
1397 + s12(1,
i)*( b13*(1.d0+dvdy) + b14*dvdx ) &
1398 + s23(1,
i)*( b15*(1.d0+dvdy) + b14*dvdz ) &
1399 + s13(1,
i)*( b15*dvdx + b13*dvdz ) )
1401 ( s11(1,
i)*b13*dwdx + s22(1,
i)*b14*dwdy + s33(1,
i)*b15*(1.d0+dwdz) &
1402 + s12(1,
i)*( b14*dwdx + b13*dwdy ) &
1403 + s23(1,
i)*( b15*dwdy + b14*(1.d0 + dwdz) ) &
1404 + s13(1,
i)*( b15*dwdx + b13*(1.d0 + dwdz) ) )
1407 ( s11(1,
i)*b16*(1.d0+dudx) + s22(1,
i)*b17*dudy + s33(1,
i)*b18*dudz &
1408 + s12(1,
i)*( b17*(1.d0+dudx) + b16*dudy ) &
1409 + s23(1,
i)*( b18*dudy + b17*dudz ) &
1410 + s13(1,
i)*( b18*(1.d0+dudx) + b16*dudz ) )
1412 ( s11(1,
i)*b16*dvdx + s22(1,
i)*b17*(1.d0+dvdy) + s33(1,
i)*b18*dvdz &
1413 + s12(1,
i)*( b16*(1.d0+dvdy) + b17*dvdx ) &
1414 + s23(1,
i)*( b18*(1.d0+dvdy) + b17*dvdz ) &
1415 + s13(1,
i)*( b18*dvdx + b16*dvdz ) )
1417 ( s11(1,
i)*b16*dwdx + s22(1,
i)*b17*dwdy + s33(1,
i)*b18*(1.d0+dwdz) &
1418 + s12(1,
i)*( b17*dwdx + b16*dwdy ) &
1419 + s23(1,
i)*( b18*dwdy + b17*(1.d0 + dwdz) ) &
1420 + s13(1,
i)*( b18*dwdx + b16*(1.d0 + dwdz) ) )
1423 ( s11(1,
i)*b19*(1.d0+dudx) + s22(1,
i)*b20*dudy + s33(1,
i)*b21*dudz &
1424 + s12(1,
i)*( b20*(1.d0+dudx) + b19*dudy ) &
1425 + s23(1,
i)*( b21*dudy + b20*dudz ) &
1426 + s13(1,
i)*( b21*(1.d0+dudx) + b19*dudz ) )
1428 ( s11(1,
i)*b19*dvdx + s22(1,
i)*b20*(1.d0+dvdy) + s33(1,
i)*b21*dvdz &
1429 + s12(1,
i)*( b19*(1.d0+dvdy) + b20*dvdx ) &
1430 + s23(1,
i)*( b21*(1.d0+dvdy) + b20*dvdz ) &
1431 + s13(1,
i)*( b21*dvdx + b19*dvdz ) )
1433 ( s11(1,
i)*b19*dwdx + s22(1,
i)*b20*dwdy + s33(1,
i)*b21*(1.d0+dwdz) &
1434 + s12(1,
i)*( b20*dwdx + b19*dwdy ) &
1435 + s23(1,
i)*( b21*dwdy + b20*(1.d0 + dwdz) ) &
1436 + s13(1,
i)*( b21*dwdx + b19*(1.d0 + dwdz) ) )
1439 ( s11(1,
i)*b22*(1.d0+dudx) + s22(1,
i)*b23*dudy+s33(1,
i)*b24*dudz &
1440 + s12(1,
i)*( b23*(1.d0+dudx) + b22*dudy ) &
1441 + s23(1,
i)*( b24*dudy + b23*dudz ) &
1442 + s13(1,
i)*( b24*(1.d0+dudx) + b22*dudz ) )
1444 ( s11(1,
i)*b22*dvdx + s22(1,
i)*b23*(1.d0+dvdy)+s33(1,
i)*b24*dvdz &
1445 + s12(1,
i)*( b22*(1.d0+dvdy) + b23*dvdx ) &
1446 + s23(1,
i)*( b24*(1.d0+dvdy) + b23*dvdz ) &
1447 + s13(1,
i)*( b24*dvdx + b22*dvdz ) )
1449 ( s11(1,
i)*b22*dwdx + s22(1,
i)*b23*dwdy+s33(1,
i)*b24*(1.d0+dwdz) &
1450 + s12(1,
i)*( b23*dwdx + b22*dwdy ) &
1451 + s23(1,
i)*( b24*dwdy + b23*(1.d0 + dwdz) ) &
1452 + s13(1,
i)*( b24*dwdx + b22*(1.d0 + dwdz) ) )
1455 ( s11(1,
i)*b25*(1.d0+dudx) + s22(1,
i)*b26*dudy+s33(1,
i)*b27*dudz &
1456 + s12(1,
i)*( b26*(1.d0+dudx) + b25*dudy ) &
1457 + s23(1,
i)*( b27*dudy + b26*dudz ) &
1458 + s13(1,
i)*( b27*(1.d0+dudx) + b25*dudz ) )
1460 ( s11(1,
i)*b25*dvdx + s22(1,
i)*b26*(1.d0+dvdy)+s33(1,
i)*b27*dvdz &
1461 + s12(1,
i)*( b25*(1.d0+dvdy) + b26*dvdx ) &
1462 + s23(1,
i)*( b27*(1.d0+dvdy) + b26*dvdz ) &
1463 + s13(1,
i)*( b27*dvdx + b25*dvdz ) )
1465 ( s11(1,
i)*b25*dwdx + s22(1,
i)*b26*dwdy+s33(1,
i)*b27*(1.d0+dwdz) &
1466 + s12(1,
i)*( b26*dwdx + b25*dwdy ) &
1467 + s23(1,
i)*( b27*dwdy + b26*(1.d0 + dwdz) ) &
1468 + s13(1,
i)*( b27*dwdx + b25*(1.d0 + dwdz) ) )
1471 ( s11(1,
i)*b28*(1.d0+dudx) + s22(1,
i)*b29*dudy+s33(1,
i)*b30*dudz &
1472 + s12(1,
i)*( b29*(1.d0+dudx) + b28*dudy ) &
1473 + s23(1,
i)*( b30*dudy + b29*dudz ) &
1474 + s13(1,
i)*( b30*(1.d0+dudx) + b28*dudz ) )
1476 ( s11(1,
i)*b28*dvdx + s22(1,
i)*b29*(1.d0+dvdy)+s33(1,
i)*b30*dvdz &
1477 + s12(1,
i)*( b28*(1.d0+dvdy) + b29*dvdx ) &
1478 + s23(1,
i)*( b30*(1.d0+dvdy) + b29*dvdz ) &
1479 + s13(1,
i)*( b30*dvdx + b28*dvdz ) )
1481 ( s11(1,
i)*b28*dwdx + s22(1,
i)*b29*dwdy+s33(1,
i)*b30*(1.d0+dwdz) &
1482 + s12(1,
i)*( b29*dwdx + b28*dwdy ) &
1483 + s23(1,
i)*( b30*dwdy + b29*(1.d0 + dwdz) ) &
1484 + s13(1,
i)*( b30*dwdx + b28*(1.d0 + dwdz) ) )
1494 r_in(k1n1) = r_in(k1n1) - r1*0.16666666666666667d0
1495 r_in(k2n1) = r_in(k2n1) - r2*0.16666666666666667d0
1496 r_in(k3n1) = r_in(k3n1) - r3*0.16666666666666667d0
1498 r_in(k1n2) = r_in(k1n2) - r4*0.16666666666666667d0
1499 r_in(k2n2) = r_in(k2n2) - r5*0.16666666666666667d0
1500 r_in(k3n2) = r_in(k3n2) - r6*0.16666666666666667d0
1502 r_in(k1n3) = r_in(k1n3) - r7*0.16666666666666667d0
1503 r_in(k2n3) = r_in(k2n3) - r8*0.16666666666666667d0
1504 r_in(k3n3) = r_in(k3n3) - r9*0.16666666666666667d0
1506 r_in(k1n4) = r_in(k1n4) - r10*0.16666666666666667d0
1507 r_in(k2n4) = r_in(k2n4) - r11*0.16666666666666667d0
1508 r_in(k3n4) = r_in(k3n4) - r12*0.16666666666666667d0
1510 r_in(k1n5) = r_in(k1n5) - r13*0.16666666666666667d0
1511 r_in(k2n5) = r_in(k2n5) - r14*0.16666666666666667d0
1512 r_in(k3n5) = r_in(k3n5) - r15*0.16666666666666667d0
1514 r_in(k1n6) = r_in(k1n6) - r16*0.16666666666666667d0
1515 r_in(k2n6) = r_in(k2n6) - r17*0.16666666666666667d0
1516 r_in(k3n6) = r_in(k3n6) - r18*0.16666666666666667d0
1518 r_in(k1n7) = r_in(k1n7) - r19*0.16666666666666667d0
1519 r_in(k2n7) = r_in(k2n7) - r20*0.16666666666666667d0
1520 r_in(k3n7) = r_in(k3n7) - r21*0.16666666666666667d0
1522 r_in(k1n8) = r_in(k1n8) - r22*0.16666666666666667d0
1523 r_in(k2n8) = r_in(k2n8) - r23*0.16666666666666667d0
1524 r_in(k3n8) = r_in(k3n8) - r24*0.16666666666666667d0
1526 r_in(k1n9) = r_in(k1n9) - r25*0.16666666666666667d0
1527 r_in(k2n9) = r_in(k2n9) - r26*0.16666666666666667d0
1528 r_in(k3n9) = r_in(k3n9) - r27*0.16666666666666667d0
1530 r_in(k1n10) = r_in(k1n10) - r28*0.16666666666666667d0
1531 r_in(k2n10) = r_in(k2n10) - r29*0.16666666666666667d0
1532 r_in(k3n10) = r_in(k3n10) - r30*0.16666666666666667d0
subroutine v3d10r_nl(coor, matcstet, lmcstet, R_in, d, ci, cj, S11, S22, S33, S12, S23, S13, numnp, nstart, nend, numcstet, numat_vol)