53 SUBROUTINE v3d10(coor,matcstet,lmcstet,R_in,d,ci, &
54 s11l,s22l,s33l,s12l,s23l,s13l,&
55 numnp,nstart,nend,numcstet,numat_vol)
67 REAL*8,
DIMENSION(1:3,1:numnp) :: coor
69 REAL*8,
DIMENSION(1:9,1:numat_vol) :: ci
71 REAL*8,
DIMENSION(1:3*numnp) :: r_in
73 REAL*8,
DIMENSION(1:3*numnp) ::
d
75 REAL*8,
DIMENSION(1:4,1:numcstet) :: s11l, s22l, s33l, s12l, s23l, s13l
77 INTEGER,
DIMENSION(1:10,1:numcstet) :: lmcstet
79 INTEGER,
DIMENSION(1:numcstet) :: matcstet
82 INTEGER :: n1,n2,n3,n4,n5,n6,n7,n8,n9,n10
84 REAL*8 :: u1,u2,u3,u4,u5,u6,u7,u8,u9,u10
85 REAL*8 :: v1,v2,v3,v4,v5,v6,v7,v8,v9,v10
86 REAL*8 :: w1,w2,w3,w4,w5,w6,w7,w8,w9,w10
90 REAL*8 :: b1,b2,b3,b4,b5,b6,b7,b8,b9,b10
91 REAL*8 :: b11,b12,b13,b14,b15,b16,b17,b18,b19,b20
92 REAL*8 :: b21,b22,b23,b24,b25,b26,b27,b28,b29,b30
94 REAL*8 :: e11,e22,e33,e12,e23,e13
96 REAL*8 :: x1,x2,x3,x4,x5,x6,x7,x8,x9,x10
97 REAL*8 :: y1,y2,y3,y4,y5,y6,y7,y8,y9,y10
98 REAL*8 :: z1,z2,z3,z4,z5,z6,z7,z8,z9,z10
100 INTEGER ::
i,
j,nstart,nend
101 REAL*8 :: aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9,aux10,aux11,aux12
103 REAL*8 :: r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18
104 REAL*8 :: r19,r20,r21,r22,r23,r24,r25,r26,r27,r28,r29,r30
105 REAL*8 :: g1, g2, g3, g4
106 REAL*8 :: xn1, xn2, xn3, xn4
108 REAL*8 :: x14, x24, x34, y14, y24, y34, z14, z24, z34
110 REAL*8 :: c11, c21, c31
111 INTEGER :: k1n1,k1n2,k1n3,k1n4,k1n5,k1n6,k1n7,k1n8,k1n9,k1n10
112 INTEGER :: k2n1,k2n2,k2n3,k2n4,k2n5,k2n6,k2n7,k2n8,k2n9,k2n10
113 INTEGER :: k3n1,k3n2,k3n3,k3n4,k3n5,k3n6,k3n7,k3n8,k3n9,k3n10
217 c11 = y24*z34 - z24*y34
218 c21 = -( x24*z34 - z24*x34 )
219 c31 = x24*y34 - y24*x34
221 vx6 = -( x14*c11 + y14*c21 + z14*c31 )
231 aux1 = -(y3*z4 - y4*z3 - y2*z4 + y2*z3 + z2*y4 - z2*y3)
232 aux2 = (x3*z4 - x4*z3 - x2*z4 + x2*z3 + z2*x4 - z2*x3)
233 aux3 = -(x3*y4 - x4*y3 - x2*y4 + x2*y3 + y2*x4 - y2*x3)
234 aux4 = (y3*z4 - y4*z3 - y1*z4 + y1*z3 + z1*y4 - z1*y3)
235 aux5 = -(x3*z4 - x4*z3 - x1*z4 + x1*z3 + z1*x4 - z1*x3)
236 aux6 = (x3*y4 - x4*y3 - x1*y4 + x1*y3 + y1*x4 - y1*x3)
237 aux7 = -(y2*z4 - z2*y4 - y1*z4 + y1*z2 + z1*y4 - z1*y2)
238 aux8 = (x2*z4 - z2*x4 - x1*z4 + x1*z2 + z1*x4 - z1*x2)
239 aux9 = -(x2*y4 - y2*x4 - x1*y4 + x1*y2 + y1*x4 - y1*x2)
240 aux10 = (y2*z3 - z2*y3 - y1*z3 + y1*z2 + z1*y3 - z1*y2)
241 aux11 =-(x2*z3 - z2*x3 - x1*z3 + x1*z2 + z1*x3 - z1*x2)
242 aux12 = (x2*y3 - y2*x3 - x1*y3 + x1*y2 + y1*x3 - y1*x2)
275 b13 = 4.d0*(g2*aux1 + g1*aux4)
276 b14 = 4.d0*(g2*aux2 + g1*aux5)
277 b15 = 4.d0*(g2*aux3 + g1*aux6)
279 b16 = 4.d0*(g3*aux4 + g2*aux7)
280 b17 = 4.d0*(g3*aux5 + g2*aux8)
281 b18 = 4.d0*(g3*aux6 + g2*aux9)
283 b19 = 4.d0*(g1*aux7 + g3*aux1)
284 b20 = 4.d0*(g1*aux8 + g3*aux2)
285 b21 = 4.d0*(g1*aux9 + g3*aux3)
287 b22 = 4.d0*(g4*aux1 + g1*aux10)
288 b23 = 4.d0*(g4*aux2 + g1*aux11)
289 b24 = 4.d0*(g4*aux3 + g1*aux12)
291 b25 = 4.d0*(g4*aux4 + g2*aux10)
292 b26 = 4.d0*(g4*aux5 + g2*aux11)
293 b27 = 4.d0*(g4*aux6 + g2*aux12)
295 b28 = 4.d0*(g4*aux7 + g3*aux10)
296 b29 = 4.d0*(g4*aux8 + g3*aux11)
297 b30 = 4.d0*(g4*aux9 + g3*aux12)
299 e11 = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + &
300 b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10) * vx6inv
301 e22 = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + &
302 b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10) * vx6inv
303 e33 = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + &
304 b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10) * vx6inv
305 e12 = (b2*u1 + b1*v1 + b5*u2 + b4*v2 &
306 + b8*u3 + b7*v3 + b11*u4 + b10*v4 &
307 + b14*u5 + b13*v5 + b17*u6 + b16*v6 &
308 + b20*u7 + b19*v7 + b23*u8 + b22*v8 &
309 + b26*u9 + b25*v9 + b29*u10 + b28*v10) * vx6inv
310 e23 = (b3*v1 + b2*w1 + b6*v2 + b5*w2 &
311 + b9*v3 + b8*w3 + b12*v4 + b11*w4 &
312 + b15*v5 + b14*w5 + b18*v6 + b17*w6 &
313 + b21*v7 + b20*w7 + b24*v8 + b23*w8 &
314 + b27*v9 + b26*w9 + b30*v10 + b29*w10) * vx6inv
315 e13 = (b3*u1 + b1*w1 + b6*u2 + b4*w2 &
316 + b9*u3 + b7*w3 + b12*u4 + b10*w4 &
317 + b15*u5 + b13*w5 + b18*u6 + b16*w6 &
318 + b21*u7 + b19*w7 + b24*u8 + b22*w8 &
319 + b27*u9 + b25*w9 + b30*u10 + b28*w10) * vx6inv
321 s11l(1,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
322 s22l(1,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
323 s33l(1,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
324 s12l(1,
i) = e12*ci(7,
j)
325 s23l(1,
i) = e23*ci(8,
j)
326 s13l(1,
i) = e13*ci(9,
j)
328 r1 = s11l(1,
i)*b1 + s12l(1,
i)*b2 + s13l(1,
i)*b3
329 r2 = s22l(1,
i)*b2 + s12l(1,
i)*b1 + s23l(1,
i)*b3
330 r3 = s33l(1,
i)*b3 + s23l(1,
i)*b2 + s13l(1,
i)*b1
332 r4 = s11l(1,
i)*b4 + s12l(1,
i)*b5 + s13l(1,
i)*b6
333 r5 = s22l(1,
i)*b5 + s12l(1,
i)*b4 + s23l(1,
i)*b6
334 r6 = s33l(1,
i)*b6 + s23l(1,
i)*b5 + s13l(1,
i)*b4
336 r7 = s11l(1,
i)*b7 + s12l(1,
i)*b8 + s13l(1,
i)*b9
337 r8 = s22l(1,
i)*b8 + s12l(1,
i)*b7 + s23l(1,
i)*b9
338 r9 = s33l(1,
i)*b9 + s23l(1,
i)*b8 + s13l(1,
i)*b7
340 r10 = s11l(1,
i)*b10 + s12l(1,
i)*b11 + s13l(1,
i)*b12
341 r11 = s22l(1,
i)*b11 + s12l(1,
i)*b10 + s23l(1,
i)*b12
342 r12 = s33l(1,
i)*b12 + s23l(1,
i)*b11 + s13l(1,
i)*b10
344 r13 = s11l(1,
i)*b13 + s12l(1,
i)*b14 + s13l(1,
i)*b15
345 r14 = s22l(1,
i)*b14 + s12l(1,
i)*b13 + s23l(1,
i)*b15
346 r15 = s33l(1,
i)*b15 + s23l(1,
i)*b14 + s13l(1,
i)*b13
348 r16 = s11l(1,
i)*b16 + s12l(1,
i)*b17 + s13l(1,
i)*b18
349 r17 = s22l(1,
i)*b17 + s12l(1,
i)*b16 + s23l(1,
i)*b18
350 r18 = s33l(1,
i)*b18 + s23l(1,
i)*b17 + s13l(1,
i)*b16
352 r19 = s11l(1,
i)*b19 + s12l(1,
i)*b20 + s13l(1,
i)*b21
353 r20 = s22l(1,
i)*b20 + s12l(1,
i)*b19 + s23l(1,
i)*b21
354 r21 = s33l(1,
i)*b21 + s23l(1,
i)*b20 + s13l(1,
i)*b19
356 r22 = s11l(1,
i)*b22 + s12l(1,
i)*b23 + s13l(1,
i)*b24
357 r23 = s22l(1,
i)*b23 + s12l(1,
i)*b22 + s23l(1,
i)*b24
358 r24 = s33l(1,
i)*b24 + s23l(1,
i)*b23 + s13l(1,
i)*b22
360 r25 = s11l(1,
i)*b25 + s12l(1,
i)*b26 + s13l(1,
i)*b27
361 r26 = s22l(1,
i)*b26 + s12l(1,
i)*b25 + s23l(1,
i)*b27
362 r27 = s33l(1,
i)*b27 + s23l(1,
i)*b26 + s13l(1,
i)*b25
364 r28 = s11l(1,
i)*b28 + s12l(1,
i)*b29 + s13l(1,
i)*b30
365 r29 = s22l(1,
i)*b29 + s12l(1,
i)*b28 + s23l(1,
i)*b30
366 r30 = s33l(1,
i)*b30 + s23l(1,
i)*b29 + s13l(1,
i)*b28
397 b13 = 4.d0*(g2*aux1 + g1*aux4)
398 b14 = 4.d0*(g2*aux2 + g1*aux5)
399 b15 = 4.d0*(g2*aux3 + g1*aux6)
400 b16 = 4.d0*(g3*aux4 + g2*aux7)
401 b17 = 4.d0*(g3*aux5 + g2*aux8)
402 b18 = 4.d0*(g3*aux6 + g2*aux9)
403 b19 = 4.d0*(g1*aux7 + g3*aux1)
404 b20 = 4.d0*(g1*aux8 + g3*aux2)
405 b21 = 4.d0*(g1*aux9 + g3*aux3)
406 b22 = 4.d0*(g4*aux1 + g1*aux10)
407 b23 = 4.d0*(g4*aux2 + g1*aux11)
408 b24 = 4.d0*(g4*aux3 + g1*aux12)
409 b25 = 4.d0*(g4*aux4 + g2*aux10)
410 b26 = 4.d0*(g4*aux5 + g2*aux11)
411 b27 = 4.d0*(g4*aux6 + g2*aux12)
412 b28 = 4.d0*(g4*aux7 + g3*aux10)
413 b29 = 4.d0*(g4*aux8 + g3*aux11)
414 b30 = 4.d0*(g4*aux9 + g3*aux12)
416 e11 = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + &
417 b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10) * vx6inv
418 e22 = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + &
419 b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10) * vx6inv
420 e33 = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + &
421 b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10) * vx6inv
422 e12 = (b2*u1 + b1*v1 + b5*u2 + b4*v2 &
423 + b8*u3 + b7*v3 + b11*u4 + b10*v4 &
424 + b14*u5 + b13*v5 + b17*u6 + b16*v6 &
425 + b20*u7 + b19*v7 + b23*u8 + b22*v8 &
426 + b26*u9 + b25*v9 + b29*u10 + b28*v10) * vx6inv
427 e23 = (b3*v1 + b2*w1 + b6*v2 + b5*w2 &
428 + b9*v3 + b8*w3 + b12*v4 + b11*w4 &
429 + b15*v5 + b14*w5 + b18*v6 + b17*w6 &
430 + b21*v7 + b20*w7 + b24*v8 + b23*w8 &
431 + b27*v9 + b26*w9 + b30*v10 + b29*w10) * vx6inv
432 e13 = (b3*u1 + b1*w1 + b6*u2 + b4*w2 &
433 + b9*u3 + b7*w3 + b12*u4 + b10*w4 &
434 + b15*u5 + b13*w5 + b18*u6 + b16*w6 &
435 + b21*u7 + b19*w7 + b24*u8 + b22*w8 &
436 + b27*u9 + b25*w9 + b30*u10 + b28*w10) * vx6inv
438 s11l(2,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
439 s22l(2,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
440 s33l(2,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
441 s12l(2,
i) = e12*ci(7,
j)
442 s23l(2,
i) = e23*ci(8,
j)
443 s13l(2,
i) = e13*ci(9,
j)
445 r1 = r1 +s11l(2,
i)*b1 + s12l(2,
i)*b2 + s13l(2,
i)*b3
446 r2 = r2 +s22l(2,
i)*b2 + s12l(2,
i)*b1 + s23l(2,
i)*b3
447 r3 = r3 +s33l(2,
i)*b3 + s23l(2,
i)*b2 + s13l(2,
i)*b1
448 r4 = r4 +s11l(2,
i)*b4 + s12l(2,
i)*b5 + s13l(2,
i)*b6
449 r5 = r5 +s22l(2,
i)*b5 + s12l(2,
i)*b4 + s23l(2,
i)*b6
450 r6 = r6 +s33l(2,
i)*b6 + s23l(2,
i)*b5 + s13l(2,
i)*b4
451 r7 = r7 +s11l(2,
i)*b7 + s12l(2,
i)*b8 + s13l(2,
i)*b9
452 r8 = r8 +s22l(2,
i)*b8 + s12l(2,
i)*b7 + s23l(2,
i)*b9
453 r9 = r9 +s33l(2,
i)*b9 + s23l(2,
i)*b8 + s13l(2,
i)*b7
454 r10 = r10 +s11l(2,
i)*b10 + s12l(2,
i)*b11 + s13l(2,
i)*b12
455 r11 = r11 +s22l(2,
i)*b11 + s12l(2,
i)*b10 + s23l(2,
i)*b12
456 r12 = r12 +s33l(2,
i)*b12 + s23l(2,
i)*b11 + s13l(2,
i)*b10
457 r13 = r13 +s11l(2,
i)*b13 + s12l(2,
i)*b14 + s13l(2,
i)*b15
458 r14 = r14 +s22l(2,
i)*b14 + s12l(2,
i)*b13 + s23l(2,
i)*b15
459 r15 = r15 +s33l(2,
i)*b15 + s23l(2,
i)*b14 + s13l(2,
i)*b13
460 r16 = r16 +s11l(2,
i)*b16 + s12l(2,
i)*b17 + s13l(2,
i)*b18
461 r17 = r17 +s22l(2,
i)*b17 + s12l(2,
i)*b16 + s23l(2,
i)*b18
462 r18 = r18 +s33l(2,
i)*b18 + s23l(2,
i)*b17 + s13l(2,
i)*b16
463 r19 = r19 +s11l(2,
i)*b19 + s12l(2,
i)*b20 + s13l(2,
i)*b21
464 r20 = r20 +s22l(2,
i)*b20 + s12l(2,
i)*b19 + s23l(2,
i)*b21
465 r21 = r21 +s33l(2,
i)*b21 + s23l(2,
i)*b20 + s13l(2,
i)*b19
466 r22 = r22 +s11l(2,
i)*b22 + s12l(2,
i)*b23 + s13l(2,
i)*b24
467 r23 = r23 +s22l(2,
i)*b23 + s12l(2,
i)*b22 + s23l(2,
i)*b24
468 r24 = r24 +s33l(2,
i)*b24 + s23l(2,
i)*b23 + s13l(2,
i)*b22
469 r25 = r25 +s11l(2,
i)*b25 + s12l(2,
i)*b26 + s13l(2,
i)*b27
470 r26 = r26 +s22l(2,
i)*b26 + s12l(2,
i)*b25 + s23l(2,
i)*b27
471 r27 = r27 +s33l(2,
i)*b27 + s23l(2,
i)*b26 + s13l(2,
i)*b25
472 r28 = r28 +s11l(2,
i)*b28 + s12l(2,
i)*b29 + s13l(2,
i)*b30
473 r29 = r29 +s22l(2,
i)*b29 + s12l(2,
i)*b28 + s23l(2,
i)*b30
474 r30 = r30 +s33l(2,
i)*b30 + s23l(2,
i)*b29 + s13l(2,
i)*b28
505 b13 = 4.d0*(g2*aux1 + g1*aux4)
506 b14 = 4.d0*(g2*aux2 + g1*aux5)
507 b15 = 4.d0*(g2*aux3 + g1*aux6)
508 b16 = 4.d0*(g3*aux4 + g2*aux7)
509 b17 = 4.d0*(g3*aux5 + g2*aux8)
510 b18 = 4.d0*(g3*aux6 + g2*aux9)
511 b19 = 4.d0*(g1*aux7 + g3*aux1)
512 b20 = 4.d0*(g1*aux8 + g3*aux2)
513 b21 = 4.d0*(g1*aux9 + g3*aux3)
514 b22 = 4.d0*(g4*aux1 + g1*aux10)
515 b23 = 4.d0*(g4*aux2 + g1*aux11)
516 b24 = 4.d0*(g4*aux3 + g1*aux12)
517 b25 = 4.d0*(g4*aux4 + g2*aux10)
518 b26 = 4.d0*(g4*aux5 + g2*aux11)
519 b27 = 4.d0*(g4*aux6 + g2*aux12)
520 b28 = 4.d0*(g4*aux7 + g3*aux10)
521 b29 = 4.d0*(g4*aux8 + g3*aux11)
522 b30 = 4.d0*(g4*aux9 + g3*aux12)
524 e11 = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + &
525 b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10) * vx6inv
526 e22 = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + &
527 b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10) * vx6inv
528 e33 = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + &
529 b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10) * vx6inv
530 e12 = (b2*u1 + b1*v1 + b5*u2 + b4*v2 &
531 + b8*u3 + b7*v3 + b11*u4 + b10*v4 &
532 + b14*u5 + b13*v5 + b17*u6 + b16*v6 &
533 + b20*u7 + b19*v7 + b23*u8 + b22*v8 &
534 + b26*u9 + b25*v9 + b29*u10 + b28*v10) * vx6inv
535 e23 = (b3*v1 + b2*w1 + b6*v2 + b5*w2 &
536 + b9*v3 + b8*w3 + b12*v4 + b11*w4 &
537 + b15*v5 + b14*w5 + b18*v6 + b17*w6 &
538 + b21*v7 + b20*w7 + b24*v8 + b23*w8 &
539 + b27*v9 + b26*w9 + b30*v10 + b29*w10) * vx6inv
540 e13 = (b3*u1 + b1*w1 + b6*u2 + b4*w2 &
541 + b9*u3 + b7*w3 + b12*u4 + b10*w4 &
542 + b15*u5 + b13*w5 + b18*u6 + b16*w6 &
543 + b21*u7 + b19*w7 + b24*u8 + b22*w8 &
544 + b27*u9 + b25*w9 + b30*u10 + b28*w10) * vx6inv
546 s11l(3,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
547 s22l(3,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
548 s33l(3,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
549 s12l(3,
i) = e12*ci(7,
j)
550 s23l(3,
i) = e23*ci(8,
j)
551 s13l(3,
i) = e13*ci(9,
j)
553 r1 = r1 + s11l(3,
i)*b1 + s12l(3,
i)*b2 + s13l(3,
i)*b3
554 r2 = r2 + s22l(3,
i)*b2 + s12l(3,
i)*b1 + s23l(3,
i)*b3
555 r3 = r3 +s33l(3,
i)*b3 + s23l(3,
i)*b2 + s13l(3,
i)*b1
556 r4 = r4 +s11l(3,
i)*b4 + s12l(3,
i)*b5 + s13l(3,
i)*b6
557 r5 = r5 +s22l(3,
i)*b5 + s12l(3,
i)*b4 + s23l(3,
i)*b6
558 r6 = r6 +s33l(3,
i)*b6 + s23l(3,
i)*b5 + s13l(3,
i)*b4
559 r7 = r7 +s11l(3,
i)*b7 + s12l(3,
i)*b8 + s13l(3,
i)*b9
560 r8 = r8 +s22l(3,
i)*b8 + s12l(3,
i)*b7 + s23l(3,
i)*b9
561 r9 = r9 +s33l(3,
i)*b9 + s23l(3,
i)*b8 + s13l(3,
i)*b7
562 r10 = r10 +s11l(3,
i)*b10 + s12l(3,
i)*b11 + s13l(3,
i)*b12
563 r11 = r11 +s22l(3,
i)*b11 + s12l(3,
i)*b10 + s23l(3,
i)*b12
564 r12 = r12 +s33l(3,
i)*b12 + s23l(3,
i)*b11 + s13l(3,
i)*b10
565 r13 = r13 +s11l(3,
i)*b13 + s12l(3,
i)*b14 + s13l(3,
i)*b15
566 r14 = r14 +s22l(3,
i)*b14 + s12l(3,
i)*b13 + s23l(3,
i)*b15
567 r15 = r15 +s33l(3,
i)*b15 + s23l(3,
i)*b14 + s13l(3,
i)*b13
568 r16 = r16 +s11l(3,
i)*b16 + s12l(3,
i)*b17 + s13l(3,
i)*b18
569 r17 = r17 +s22l(3,
i)*b17 + s12l(3,
i)*b16 + s23l(3,
i)*b18
570 r18 = r18 +s33l(3,
i)*b18 + s23l(3,
i)*b17 + s13l(3,
i)*b16
571 r19 = r19 +s11l(3,
i)*b19 + s12l(3,
i)*b20 + s13l(3,
i)*b21
572 r20 = r20 +s22l(3,
i)*b20 + s12l(3,
i)*b19 + s23l(3,
i)*b21
573 r21 = r21 +s33l(3,
i)*b21 + s23l(3,
i)*b20 + s13l(3,
i)*b19
574 r22 = r22 +s11l(3,
i)*b22 + s12l(3,
i)*b23 + s13l(3,
i)*b24
575 r23 = r23 +s22l(3,
i)*b23 + s12l(3,
i)*b22 + s23l(3,
i)*b24
576 r24 = r24 +s33l(3,
i)*b24 + s23l(3,
i)*b23 + s13l(3,
i)*b22
577 r25 = r25 +s11l(3,
i)*b25 + s12l(3,
i)*b26 + s13l(3,
i)*b27
578 r26 = r26 +s22l(3,
i)*b26 + s12l(3,
i)*b25 + s23l(3,
i)*b27
579 r27 = r27 +s33l(3,
i)*b27 + s23l(3,
i)*b26 + s13l(3,
i)*b25
580 r28 = r28 +s11l(3,
i)*b28 + s12l(3,
i)*b29 + s13l(3,
i)*b30
581 r29 = r29 +s22l(3,
i)*b29 + s12l(3,
i)*b28 + s23l(3,
i)*b30
582 r30 = r30 +s33l(3,
i)*b30 + s23l(3,
i)*b29 + s13l(3,
i)*b28
613 b13 = 4.d0*(g2*aux1 + g1*aux4)
614 b14 = 4.d0*(g2*aux2 + g1*aux5)
615 b15 = 4.d0*(g2*aux3 + g1*aux6)
616 b16 = 4.d0*(g3*aux4 + g2*aux7)
617 b17 = 4.d0*(g3*aux5 + g2*aux8)
618 b18 = 4.d0*(g3*aux6 + g2*aux9)
619 b19 = 4.d0*(g1*aux7 + g3*aux1)
620 b20 = 4.d0*(g1*aux8 + g3*aux2)
621 b21 = 4.d0*(g1*aux9 + g3*aux3)
622 b22 = 4.d0*(g4*aux1 + g1*aux10)
623 b23 = 4.d0*(g4*aux2 + g1*aux11)
624 b24 = 4.d0*(g4*aux3 + g1*aux12)
625 b25 = 4.d0*(g4*aux4 + g2*aux10)
626 b26 = 4.d0*(g4*aux5 + g2*aux11)
627 b27 = 4.d0*(g4*aux6 + g2*aux12)
628 b28 = 4.d0*(g4*aux7 + g3*aux10)
629 b29 = 4.d0*(g4*aux8 + g3*aux11)
630 b30 = 4.d0*(g4*aux9 + g3*aux12)
632 e11 = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + &
633 b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10) * vx6inv
634 e22 = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + &
635 b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10) * vx6inv
636 e33 = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + &
637 b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10) * vx6inv
638 e12 = (b2*u1 + b1*v1 + b5*u2 + b4*v2 &
639 + b8*u3 + b7*v3 + b11*u4 + b10*v4 &
640 + b14*u5 + b13*v5 + b17*u6 + b16*v6 &
641 + b20*u7 + b19*v7 + b23*u8 + b22*v8 &
642 + b26*u9 + b25*v9 + b29*u10 + b28*v10) * vx6inv
643 e23 = (b3*v1 + b2*w1 + b6*v2 + b5*w2 &
644 + b9*v3 + b8*w3 + b12*v4 + b11*w4 &
645 + b15*v5 + b14*w5 + b18*v6 + b17*w6 &
646 + b21*v7 + b20*w7 + b24*v8 + b23*w8 &
647 + b27*v9 + b26*w9 + b30*v10 + b29*w10) * vx6inv
648 e13 = (b3*u1 + b1*w1 + b6*u2 + b4*w2 &
649 + b9*u3 + b7*w3 + b12*u4 + b10*w4 &
650 + b15*u5 + b13*w5 + b18*u6 + b16*w6 &
651 + b21*u7 + b19*w7 + b24*u8 + b22*w8 &
652 + b27*u9 + b25*w9 + b30*u10 + b28*w10) * vx6inv
654 s11l(4,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
655 s22l(4,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
656 s33l(4,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
657 s12l(4,
i) = e12*ci(7,
j)
658 s23l(4,
i) = e23*ci(8,
j)
659 s13l(4,
i) = e13*ci(9,
j)
661 r1 = r1 + s11l(4,
i)*b1 + s12l(4,
i)*b2 + s13l(4,
i)*b3
662 r2 = r2 + s22l(4,
i)*b2 + s12l(4,
i)*b1 + s23l(4,
i)*b3
663 r3 = r3 + s33l(4,
i)*b3 + s23l(4,
i)*b2 + s13l(4,
i)*b1
664 r4 = r4 + s11l(4,
i)*b4 + s12l(4,
i)*b5 + s13l(4,
i)*b6
665 r5 = r5 + s22l(4,
i)*b5 + s12l(4,
i)*b4 + s23l(4,
i)*b6
666 r6 = r6 + s33l(4,
i)*b6 + s23l(4,
i)*b5 + s13l(4,
i)*b4
667 r7 = r7 + s11l(4,
i)*b7 + s12l(4,
i)*b8 + s13l(4,
i)*b9
668 r8 = r8 + s22l(4,
i)*b8 + s12l(4,
i)*b7 + s23l(4,
i)*b9
669 r9 = r9 + s33l(4,
i)*b9 + s23l(4,
i)*b8 + s13l(4,
i)*b7
670 r10 = r10 +s11l(4,
i)*b10 + s12l(4,
i)*b11 + s13l(4,
i)*b12
671 r11 = r11 +s22l(4,
i)*b11 + s12l(4,
i)*b10 + s23l(4,
i)*b12
672 r12 = r12 +s33l(4,
i)*b12 + s23l(4,
i)*b11 + s13l(4,
i)*b10
673 r13 = r13 +s11l(4,
i)*b13 + s12l(4,
i)*b14 + s13l(4,
i)*b15
674 r14 = r14 +s22l(4,
i)*b14 + s12l(4,
i)*b13 + s23l(4,
i)*b15
675 r15 = r15 +s33l(4,
i)*b15 + s23l(4,
i)*b14 + s13l(4,
i)*b13
676 r16 = r16 +s11l(4,
i)*b16 + s12l(4,
i)*b17 + s13l(4,
i)*b18
677 r17 = r17 +s22l(4,
i)*b17 + s12l(4,
i)*b16 + s23l(4,
i)*b18
678 r18 = r18 +s33l(4,
i)*b18 + s23l(4,
i)*b17 + s13l(4,
i)*b16
679 r19 = r19 +s11l(4,
i)*b19 + s12l(4,
i)*b20 + s13l(4,
i)*b21
680 r20 = r20 +s22l(4,
i)*b20 + s12l(4,
i)*b19 + s23l(4,
i)*b21
681 r21 = r21 +s33l(4,
i)*b21 + s23l(4,
i)*b20 + s13l(4,
i)*b19
682 r22 = r22 +s11l(4,
i)*b22 + s12l(4,
i)*b23 + s13l(4,
i)*b24
683 r23 = r23 +s22l(4,
i)*b23 + s12l(4,
i)*b22 + s23l(4,
i)*b24
684 r24 = r24 +s33l(4,
i)*b24 + s23l(4,
i)*b23 + s13l(4,
i)*b22
685 r25 = r25 +s11l(4,
i)*b25 + s12l(4,
i)*b26 + s13l(4,
i)*b27
686 r26 = r26 +s22l(4,
i)*b26 + s12l(4,
i)*b25 + s23l(4,
i)*b27
687 r27 = r27 +s33l(4,
i)*b27 + s23l(4,
i)*b26 + s13l(4,
i)*b25
688 r28 = r28 +s11l(4,
i)*b28 + s12l(4,
i)*b29 + s13l(4,
i)*b30
689 r29 = r29 +s22l(4,
i)*b29 + s12l(4,
i)*b28 + s23l(4,
i)*b30
690 r30 = r30 +s33l(4,
i)*b30 + s23l(4,
i)*b29 + s13l(4,
i)*b28
700 r_in(k1n1) = r_in(k1n1) - r1*0.04166666666666667d0
701 r_in(k2n1) = r_in(k2n1) - r2*0.04166666666666667d0
702 r_in(k3n1) = r_in(k3n1) - r3*0.04166666666666667d0
704 r_in(k1n2) = r_in(k1n2) - r4*0.04166666666666667d0
705 r_in(k2n2) = r_in(k2n2) - r5*0.04166666666666667d0
706 r_in(k3n2) = r_in(k3n2) - r6*0.04166666666666667d0
708 r_in(k1n3) = r_in(k1n3) - r7*0.04166666666666667d0
709 r_in(k2n3) = r_in(k2n3) - r8*0.04166666666666667d0
710 r_in(k3n3) = r_in(k3n3) - r9*0.04166666666666667d0
712 r_in(k1n4) = r_in(k1n4) - r10*0.04166666666666667d0
713 r_in(k2n4) = r_in(k2n4) - r11*0.04166666666666667d0
714 r_in(k3n4) = r_in(k3n4) - r12*0.04166666666666667d0
716 r_in(k1n5) = r_in(k1n5) - r13*0.04166666666666667d0
717 r_in(k2n5) = r_in(k2n5) - r14*0.04166666666666667d0
718 r_in(k3n5) = r_in(k3n5) - r15*0.04166666666666667d0
720 r_in(k1n6) = r_in(k1n6) - r16*0.04166666666666667d0
721 r_in(k2n6) = r_in(k2n6) - r17*0.04166666666666667d0
722 r_in(k3n6) = r_in(k3n6) - r18*0.04166666666666667d0
724 r_in(k1n7) = r_in(k1n7) - r19*0.04166666666666667d0
725 r_in(k2n7) = r_in(k2n7) - r20*0.04166666666666667d0
726 r_in(k3n7) = r_in(k3n7) - r21*0.04166666666666667d0
728 r_in(k1n8) = r_in(k1n8) - r22*0.04166666666666667d0
729 r_in(k2n8) = r_in(k2n8) - r23*0.04166666666666667d0
730 r_in(k3n8) = r_in(k3n8) - r24*0.04166666666666667d0
732 r_in(k1n9) = r_in(k1n9) - r25*0.04166666666666667d0
733 r_in(k2n9) = r_in(k2n9) - r26*0.04166666666666667d0
734 r_in(k3n9) = r_in(k3n9) - r27*0.04166666666666667d0
736 r_in(k1n10) = r_in(k1n10) - r28*0.04166666666666667d0
737 r_in(k2n10) = r_in(k2n10) - r29*0.04166666666666667d0
738 r_in(k3n10) = r_in(k3n10) - r30*0.04166666666666667d0
subroutine v3d10(coor, matcstet, lmcstet, R_in, d, ci, S11l, S22l, S33l, S12l, S23l, S13l, numnp, nstart, nend, numcstet, numat_vol)