53 SUBROUTINE v3d10(coor,matcstet,lmcstet,R_in,d,ci, &
54 s11l,s22l,s33l,s12l,s23l,s13l,&
55 numnp,nstart,nend,numcstet,numat_vol)
103 REAL*8,
DIMENSION(1:3,1:numnp) :: coor
105 REAL*8,
DIMENSION(1:9,1:numat_vol) :: ci
107 REAL*8,
DIMENSION(1:3*numnp) :: r_in
109 REAL*8,
DIMENSION(1:3*numnp) ::
d
111 REAL*8,
DIMENSION(1:4,1:numcstet) :: s11l, s22l, s33l, s12l, s23l, s13l
113 INTEGER,
DIMENSION(1:10,1:numcstet) :: lmcstet
115 INTEGER,
DIMENSION(1:numcstet) :: matcstet
118 INTEGER :: n1,n2,n3,n4,n5,n6,n7,n8,n9,n10
120 REAL*8 :: u1,u2,u3,u4,u5,u6,u7,u8,u9,u10
121 REAL*8 :: v1,v2,v3,v4,v5,v6,v7,v8,v9,v10
122 REAL*8 :: w1,w2,w3,w4,w5,w6,w7,w8,w9,w10
124 REAL*8 :: vx6, vx6inv
126 REAL*8 :: b1,b2,b3,b4,b5,b6,b7,b8,b9,b10
127 REAL*8 :: b11,b12,b13,b14,b15,b16,b17,b18,b19,b20
128 REAL*8 :: b21,b22,b23,b24,b25,b26,b27,b28,b29,b30
130 REAL*8 :: e11,e22,e33,e12,e23,e13
132 REAL*8 :: x1,x2,x3,x4,x5,x6,x7,x8,x9,x10
133 REAL*8 :: y1,y2,y3,y4,y5,y6,y7,y8,y9,y10
134 REAL*8 :: z1,z2,z3,z4,z5,z6,z7,z8,z9,z10
136 INTEGER ::
i,
j,nstart,nend
137 REAL*8 :: aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9,aux10,aux11,aux12
139 REAL*8 :: r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18
140 REAL*8 :: r19,r20,r21,r22,r23,r24,r25,r26,r27,r28,r29,r30
141 REAL*8 :: g1, g2, g3, g4
142 REAL*8 :: xn1, xn2, xn3, xn4
144 REAL*8 :: x14, x24, x34, y14, y24, y34, z14, z24, z34
146 REAL*8 :: c11, c21, c31
147 INTEGER :: k1n1,k1n2,k1n3,k1n4,k1n5,k1n6,k1n7,k1n8,k1n9,k1n10
148 INTEGER :: k2n1,k2n2,k2n3,k2n4,k2n5,k2n6,k2n7,k2n8,k2n9,k2n10
149 INTEGER :: k3n1,k3n2,k3n3,k3n4,k3n5,k3n6,k3n7,k3n8,k3n9,k3n10
253 c11 = y24*z34 - z24*y34
254 c21 = -( x24*z34 - z24*x34 )
255 c31 = x24*y34 - y24*x34
257 vx6 = -( x14*c11 + y14*c21 + z14*c31 )
267 aux1 = -(y3*z4 - y4*z3 - y2*z4 + y2*z3 + z2*y4 - z2*y3)
268 aux2 = (x3*z4 - x4*z3 - x2*z4 + x2*z3 + z2*x4 - z2*x3)
269 aux3 = -(x3*y4 - x4*y3 - x2*y4 + x2*y3 + y2*x4 - y2*x3)
270 aux4 = (y3*z4 - y4*z3 - y1*z4 + y1*z3 + z1*y4 - z1*y3)
271 aux5 = -(x3*z4 - x4*z3 - x1*z4 + x1*z3 + z1*x4 - z1*x3)
272 aux6 = (x3*y4 - x4*y3 - x1*y4 + x1*y3 + y1*x4 - y1*x3)
273 aux7 = -(y2*z4 - z2*y4 - y1*z4 + y1*z2 + z1*y4 - z1*y2)
274 aux8 = (x2*z4 - z2*x4 - x1*z4 + x1*z2 + z1*x4 - z1*x2)
275 aux9 = -(x2*y4 - y2*x4 - x1*y4 + x1*y2 + y1*x4 - y1*x2)
276 aux10 = (y2*z3 - z2*y3 - y1*z3 + y1*z2 + z1*y3 - z1*y2)
277 aux11 =-(x2*z3 - z2*x3 - x1*z3 + x1*z2 + z1*x3 - z1*x2)
278 aux12 = (x2*y3 - y2*x3 - x1*y3 + x1*y2 + y1*x3 - y1*x2)
311 b13 = 4.d0*(g2*aux1 + g1*aux4)
312 b14 = 4.d0*(g2*aux2 + g1*aux5)
313 b15 = 4.d0*(g2*aux3 + g1*aux6)
315 b16 = 4.d0*(g3*aux4 + g2*aux7)
316 b17 = 4.d0*(g3*aux5 + g2*aux8)
317 b18 = 4.d0*(g3*aux6 + g2*aux9)
319 b19 = 4.d0*(g1*aux7 + g3*aux1)
320 b20 = 4.d0*(g1*aux8 + g3*aux2)
321 b21 = 4.d0*(g1*aux9 + g3*aux3)
323 b22 = 4.d0*(g4*aux1 + g1*aux10)
324 b23 = 4.d0*(g4*aux2 + g1*aux11)
325 b24 = 4.d0*(g4*aux3 + g1*aux12)
327 b25 = 4.d0*(g4*aux4 + g2*aux10)
328 b26 = 4.d0*(g4*aux5 + g2*aux11)
329 b27 = 4.d0*(g4*aux6 + g2*aux12)
331 b28 = 4.d0*(g4*aux7 + g3*aux10)
332 b29 = 4.d0*(g4*aux8 + g3*aux11)
333 b30 = 4.d0*(g4*aux9 + g3*aux12)
335 e11 = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + &
336 b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10) * vx6inv
337 e22 = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + &
338 b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10) * vx6inv
339 e33 = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + &
340 b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10) * vx6inv
341 e12 = (b2*u1 + b1*v1 + b5*u2 + b4*v2 &
342 + b8*u3 + b7*v3 + b11*u4 + b10*v4 &
343 + b14*u5 + b13*v5 + b17*u6 + b16*v6 &
344 + b20*u7 + b19*v7 + b23*u8 + b22*v8 &
345 + b26*u9 + b25*v9 + b29*u10 + b28*v10) * vx6inv
346 e23 = (b3*v1 + b2*w1 + b6*v2 + b5*w2 &
347 + b9*v3 + b8*w3 + b12*v4 + b11*w4 &
348 + b15*v5 + b14*w5 + b18*v6 + b17*w6 &
349 + b21*v7 + b20*w7 + b24*v8 + b23*w8 &
350 + b27*v9 + b26*w9 + b30*v10 + b29*w10) * vx6inv
351 e13 = (b3*u1 + b1*w1 + b6*u2 + b4*w2 &
352 + b9*u3 + b7*w3 + b12*u4 + b10*w4 &
353 + b15*u5 + b13*w5 + b18*u6 + b16*w6 &
354 + b21*u7 + b19*w7 + b24*u8 + b22*w8 &
355 + b27*u9 + b25*w9 + b30*u10 + b28*w10) * vx6inv
357 s11l(1,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
358 s22l(1,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
359 s33l(1,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
360 s12l(1,
i) = e12*ci(7,
j)
361 s23l(1,
i) = e23*ci(8,
j)
362 s13l(1,
i) = e13*ci(9,
j)
364 r1 = s11l(1,
i)*b1 + s12l(1,
i)*b2 + s13l(1,
i)*b3
365 r2 = s22l(1,
i)*b2 + s12l(1,
i)*b1 + s23l(1,
i)*b3
366 r3 = s33l(1,
i)*b3 + s23l(1,
i)*b2 + s13l(1,
i)*b1
368 r4 = s11l(1,
i)*b4 + s12l(1,
i)*b5 + s13l(1,
i)*b6
369 r5 = s22l(1,
i)*b5 + s12l(1,
i)*b4 + s23l(1,
i)*b6
370 r6 = s33l(1,
i)*b6 + s23l(1,
i)*b5 + s13l(1,
i)*b4
372 r7 = s11l(1,
i)*b7 + s12l(1,
i)*b8 + s13l(1,
i)*b9
373 r8 = s22l(1,
i)*b8 + s12l(1,
i)*b7 + s23l(1,
i)*b9
374 r9 = s33l(1,
i)*b9 + s23l(1,
i)*b8 + s13l(1,
i)*b7
376 r10 = s11l(1,
i)*b10 + s12l(1,
i)*b11 + s13l(1,
i)*b12
377 r11 = s22l(1,
i)*b11 + s12l(1,
i)*b10 + s23l(1,
i)*b12
378 r12 = s33l(1,
i)*b12 + s23l(1,
i)*b11 + s13l(1,
i)*b10
380 r13 = s11l(1,
i)*b13 + s12l(1,
i)*b14 + s13l(1,
i)*b15
381 r14 = s22l(1,
i)*b14 + s12l(1,
i)*b13 + s23l(1,
i)*b15
382 r15 = s33l(1,
i)*b15 + s23l(1,
i)*b14 + s13l(1,
i)*b13
384 r16 = s11l(1,
i)*b16 + s12l(1,
i)*b17 + s13l(1,
i)*b18
385 r17 = s22l(1,
i)*b17 + s12l(1,
i)*b16 + s23l(1,
i)*b18
386 r18 = s33l(1,
i)*b18 + s23l(1,
i)*b17 + s13l(1,
i)*b16
388 r19 = s11l(1,
i)*b19 + s12l(1,
i)*b20 + s13l(1,
i)*b21
389 r20 = s22l(1,
i)*b20 + s12l(1,
i)*b19 + s23l(1,
i)*b21
390 r21 = s33l(1,
i)*b21 + s23l(1,
i)*b20 + s13l(1,
i)*b19
392 r22 = s11l(1,
i)*b22 + s12l(1,
i)*b23 + s13l(1,
i)*b24
393 r23 = s22l(1,
i)*b23 + s12l(1,
i)*b22 + s23l(1,
i)*b24
394 r24 = s33l(1,
i)*b24 + s23l(1,
i)*b23 + s13l(1,
i)*b22
396 r25 = s11l(1,
i)*b25 + s12l(1,
i)*b26 + s13l(1,
i)*b27
397 r26 = s22l(1,
i)*b26 + s12l(1,
i)*b25 + s23l(1,
i)*b27
398 r27 = s33l(1,
i)*b27 + s23l(1,
i)*b26 + s13l(1,
i)*b25
400 r28 = s11l(1,
i)*b28 + s12l(1,
i)*b29 + s13l(1,
i)*b30
401 r29 = s22l(1,
i)*b29 + s12l(1,
i)*b28 + s23l(1,
i)*b30
402 r30 = s33l(1,
i)*b30 + s23l(1,
i)*b29 + s13l(1,
i)*b28
433 b13 = 4.d0*(g2*aux1 + g1*aux4)
434 b14 = 4.d0*(g2*aux2 + g1*aux5)
435 b15 = 4.d0*(g2*aux3 + g1*aux6)
436 b16 = 4.d0*(g3*aux4 + g2*aux7)
437 b17 = 4.d0*(g3*aux5 + g2*aux8)
438 b18 = 4.d0*(g3*aux6 + g2*aux9)
439 b19 = 4.d0*(g1*aux7 + g3*aux1)
440 b20 = 4.d0*(g1*aux8 + g3*aux2)
441 b21 = 4.d0*(g1*aux9 + g3*aux3)
442 b22 = 4.d0*(g4*aux1 + g1*aux10)
443 b23 = 4.d0*(g4*aux2 + g1*aux11)
444 b24 = 4.d0*(g4*aux3 + g1*aux12)
445 b25 = 4.d0*(g4*aux4 + g2*aux10)
446 b26 = 4.d0*(g4*aux5 + g2*aux11)
447 b27 = 4.d0*(g4*aux6 + g2*aux12)
448 b28 = 4.d0*(g4*aux7 + g3*aux10)
449 b29 = 4.d0*(g4*aux8 + g3*aux11)
450 b30 = 4.d0*(g4*aux9 + g3*aux12)
452 e11 = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + &
453 b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10) * vx6inv
454 e22 = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + &
455 b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10) * vx6inv
456 e33 = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + &
457 b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10) * vx6inv
458 e12 = (b2*u1 + b1*v1 + b5*u2 + b4*v2 &
459 + b8*u3 + b7*v3 + b11*u4 + b10*v4 &
460 + b14*u5 + b13*v5 + b17*u6 + b16*v6 &
461 + b20*u7 + b19*v7 + b23*u8 + b22*v8 &
462 + b26*u9 + b25*v9 + b29*u10 + b28*v10) * vx6inv
463 e23 = (b3*v1 + b2*w1 + b6*v2 + b5*w2 &
464 + b9*v3 + b8*w3 + b12*v4 + b11*w4 &
465 + b15*v5 + b14*w5 + b18*v6 + b17*w6 &
466 + b21*v7 + b20*w7 + b24*v8 + b23*w8 &
467 + b27*v9 + b26*w9 + b30*v10 + b29*w10) * vx6inv
468 e13 = (b3*u1 + b1*w1 + b6*u2 + b4*w2 &
469 + b9*u3 + b7*w3 + b12*u4 + b10*w4 &
470 + b15*u5 + b13*w5 + b18*u6 + b16*w6 &
471 + b21*u7 + b19*w7 + b24*u8 + b22*w8 &
472 + b27*u9 + b25*w9 + b30*u10 + b28*w10) * vx6inv
474 s11l(2,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
475 s22l(2,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
476 s33l(2,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
477 s12l(2,
i) = e12*ci(7,
j)
478 s23l(2,
i) = e23*ci(8,
j)
479 s13l(2,
i) = e13*ci(9,
j)
481 r1 = r1 +s11l(2,
i)*b1 + s12l(2,
i)*b2 + s13l(2,
i)*b3
482 r2 = r2 +s22l(2,
i)*b2 + s12l(2,
i)*b1 + s23l(2,
i)*b3
483 r3 = r3 +s33l(2,
i)*b3 + s23l(2,
i)*b2 + s13l(2,
i)*b1
484 r4 = r4 +s11l(2,
i)*b4 + s12l(2,
i)*b5 + s13l(2,
i)*b6
485 r5 = r5 +s22l(2,
i)*b5 + s12l(2,
i)*b4 + s23l(2,
i)*b6
486 r6 = r6 +s33l(2,
i)*b6 + s23l(2,
i)*b5 + s13l(2,
i)*b4
487 r7 = r7 +s11l(2,
i)*b7 + s12l(2,
i)*b8 + s13l(2,
i)*b9
488 r8 = r8 +s22l(2,
i)*b8 + s12l(2,
i)*b7 + s23l(2,
i)*b9
489 r9 = r9 +s33l(2,
i)*b9 + s23l(2,
i)*b8 + s13l(2,
i)*b7
490 r10 = r10 +s11l(2,
i)*b10 + s12l(2,
i)*b11 + s13l(2,
i)*b12
491 r11 = r11 +s22l(2,
i)*b11 + s12l(2,
i)*b10 + s23l(2,
i)*b12
492 r12 = r12 +s33l(2,
i)*b12 + s23l(2,
i)*b11 + s13l(2,
i)*b10
493 r13 = r13 +s11l(2,
i)*b13 + s12l(2,
i)*b14 + s13l(2,
i)*b15
494 r14 = r14 +s22l(2,
i)*b14 + s12l(2,
i)*b13 + s23l(2,
i)*b15
495 r15 = r15 +s33l(2,
i)*b15 + s23l(2,
i)*b14 + s13l(2,
i)*b13
496 r16 = r16 +s11l(2,
i)*b16 + s12l(2,
i)*b17 + s13l(2,
i)*b18
497 r17 = r17 +s22l(2,
i)*b17 + s12l(2,
i)*b16 + s23l(2,
i)*b18
498 r18 = r18 +s33l(2,
i)*b18 + s23l(2,
i)*b17 + s13l(2,
i)*b16
499 r19 = r19 +s11l(2,
i)*b19 + s12l(2,
i)*b20 + s13l(2,
i)*b21
500 r20 = r20 +s22l(2,
i)*b20 + s12l(2,
i)*b19 + s23l(2,
i)*b21
501 r21 = r21 +s33l(2,
i)*b21 + s23l(2,
i)*b20 + s13l(2,
i)*b19
502 r22 = r22 +s11l(2,
i)*b22 + s12l(2,
i)*b23 + s13l(2,
i)*b24
503 r23 = r23 +s22l(2,
i)*b23 + s12l(2,
i)*b22 + s23l(2,
i)*b24
504 r24 = r24 +s33l(2,
i)*b24 + s23l(2,
i)*b23 + s13l(2,
i)*b22
505 r25 = r25 +s11l(2,
i)*b25 + s12l(2,
i)*b26 + s13l(2,
i)*b27
506 r26 = r26 +s22l(2,
i)*b26 + s12l(2,
i)*b25 + s23l(2,
i)*b27
507 r27 = r27 +s33l(2,
i)*b27 + s23l(2,
i)*b26 + s13l(2,
i)*b25
508 r28 = r28 +s11l(2,
i)*b28 + s12l(2,
i)*b29 + s13l(2,
i)*b30
509 r29 = r29 +s22l(2,
i)*b29 + s12l(2,
i)*b28 + s23l(2,
i)*b30
510 r30 = r30 +s33l(2,
i)*b30 + s23l(2,
i)*b29 + s13l(2,
i)*b28
541 b13 = 4.d0*(g2*aux1 + g1*aux4)
542 b14 = 4.d0*(g2*aux2 + g1*aux5)
543 b15 = 4.d0*(g2*aux3 + g1*aux6)
544 b16 = 4.d0*(g3*aux4 + g2*aux7)
545 b17 = 4.d0*(g3*aux5 + g2*aux8)
546 b18 = 4.d0*(g3*aux6 + g2*aux9)
547 b19 = 4.d0*(g1*aux7 + g3*aux1)
548 b20 = 4.d0*(g1*aux8 + g3*aux2)
549 b21 = 4.d0*(g1*aux9 + g3*aux3)
550 b22 = 4.d0*(g4*aux1 + g1*aux10)
551 b23 = 4.d0*(g4*aux2 + g1*aux11)
552 b24 = 4.d0*(g4*aux3 + g1*aux12)
553 b25 = 4.d0*(g4*aux4 + g2*aux10)
554 b26 = 4.d0*(g4*aux5 + g2*aux11)
555 b27 = 4.d0*(g4*aux6 + g2*aux12)
556 b28 = 4.d0*(g4*aux7 + g3*aux10)
557 b29 = 4.d0*(g4*aux8 + g3*aux11)
558 b30 = 4.d0*(g4*aux9 + g3*aux12)
560 e11 = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + &
561 b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10) * vx6inv
562 e22 = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + &
563 b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10) * vx6inv
564 e33 = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + &
565 b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10) * vx6inv
566 e12 = (b2*u1 + b1*v1 + b5*u2 + b4*v2 &
567 + b8*u3 + b7*v3 + b11*u4 + b10*v4 &
568 + b14*u5 + b13*v5 + b17*u6 + b16*v6 &
569 + b20*u7 + b19*v7 + b23*u8 + b22*v8 &
570 + b26*u9 + b25*v9 + b29*u10 + b28*v10) * vx6inv
571 e23 = (b3*v1 + b2*w1 + b6*v2 + b5*w2 &
572 + b9*v3 + b8*w3 + b12*v4 + b11*w4 &
573 + b15*v5 + b14*w5 + b18*v6 + b17*w6 &
574 + b21*v7 + b20*w7 + b24*v8 + b23*w8 &
575 + b27*v9 + b26*w9 + b30*v10 + b29*w10) * vx6inv
576 e13 = (b3*u1 + b1*w1 + b6*u2 + b4*w2 &
577 + b9*u3 + b7*w3 + b12*u4 + b10*w4 &
578 + b15*u5 + b13*w5 + b18*u6 + b16*w6 &
579 + b21*u7 + b19*w7 + b24*u8 + b22*w8 &
580 + b27*u9 + b25*w9 + b30*u10 + b28*w10) * vx6inv
582 s11l(3,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
583 s22l(3,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
584 s33l(3,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
585 s12l(3,
i) = e12*ci(7,
j)
586 s23l(3,
i) = e23*ci(8,
j)
587 s13l(3,
i) = e13*ci(9,
j)
589 r1 = r1 + s11l(3,
i)*b1 + s12l(3,
i)*b2 + s13l(3,
i)*b3
590 r2 = r2 + s22l(3,
i)*b2 + s12l(3,
i)*b1 + s23l(3,
i)*b3
591 r3 = r3 +s33l(3,
i)*b3 + s23l(3,
i)*b2 + s13l(3,
i)*b1
592 r4 = r4 +s11l(3,
i)*b4 + s12l(3,
i)*b5 + s13l(3,
i)*b6
593 r5 = r5 +s22l(3,
i)*b5 + s12l(3,
i)*b4 + s23l(3,
i)*b6
594 r6 = r6 +s33l(3,
i)*b6 + s23l(3,
i)*b5 + s13l(3,
i)*b4
595 r7 = r7 +s11l(3,
i)*b7 + s12l(3,
i)*b8 + s13l(3,
i)*b9
596 r8 = r8 +s22l(3,
i)*b8 + s12l(3,
i)*b7 + s23l(3,
i)*b9
597 r9 = r9 +s33l(3,
i)*b9 + s23l(3,
i)*b8 + s13l(3,
i)*b7
598 r10 = r10 +s11l(3,
i)*b10 + s12l(3,
i)*b11 + s13l(3,
i)*b12
599 r11 = r11 +s22l(3,
i)*b11 + s12l(3,
i)*b10 + s23l(3,
i)*b12
600 r12 = r12 +s33l(3,
i)*b12 + s23l(3,
i)*b11 + s13l(3,
i)*b10
601 r13 = r13 +s11l(3,
i)*b13 + s12l(3,
i)*b14 + s13l(3,
i)*b15
602 r14 = r14 +s22l(3,
i)*b14 + s12l(3,
i)*b13 + s23l(3,
i)*b15
603 r15 = r15 +s33l(3,
i)*b15 + s23l(3,
i)*b14 + s13l(3,
i)*b13
604 r16 = r16 +s11l(3,
i)*b16 + s12l(3,
i)*b17 + s13l(3,
i)*b18
605 r17 = r17 +s22l(3,
i)*b17 + s12l(3,
i)*b16 + s23l(3,
i)*b18
606 r18 = r18 +s33l(3,
i)*b18 + s23l(3,
i)*b17 + s13l(3,
i)*b16
607 r19 = r19 +s11l(3,
i)*b19 + s12l(3,
i)*b20 + s13l(3,
i)*b21
608 r20 = r20 +s22l(3,
i)*b20 + s12l(3,
i)*b19 + s23l(3,
i)*b21
609 r21 = r21 +s33l(3,
i)*b21 + s23l(3,
i)*b20 + s13l(3,
i)*b19
610 r22 = r22 +s11l(3,
i)*b22 + s12l(3,
i)*b23 + s13l(3,
i)*b24
611 r23 = r23 +s22l(3,
i)*b23 + s12l(3,
i)*b22 + s23l(3,
i)*b24
612 r24 = r24 +s33l(3,
i)*b24 + s23l(3,
i)*b23 + s13l(3,
i)*b22
613 r25 = r25 +s11l(3,
i)*b25 + s12l(3,
i)*b26 + s13l(3,
i)*b27
614 r26 = r26 +s22l(3,
i)*b26 + s12l(3,
i)*b25 + s23l(3,
i)*b27
615 r27 = r27 +s33l(3,
i)*b27 + s23l(3,
i)*b26 + s13l(3,
i)*b25
616 r28 = r28 +s11l(3,
i)*b28 + s12l(3,
i)*b29 + s13l(3,
i)*b30
617 r29 = r29 +s22l(3,
i)*b29 + s12l(3,
i)*b28 + s23l(3,
i)*b30
618 r30 = r30 +s33l(3,
i)*b30 + s23l(3,
i)*b29 + s13l(3,
i)*b28
649 b13 = 4.d0*(g2*aux1 + g1*aux4)
650 b14 = 4.d0*(g2*aux2 + g1*aux5)
651 b15 = 4.d0*(g2*aux3 + g1*aux6)
652 b16 = 4.d0*(g3*aux4 + g2*aux7)
653 b17 = 4.d0*(g3*aux5 + g2*aux8)
654 b18 = 4.d0*(g3*aux6 + g2*aux9)
655 b19 = 4.d0*(g1*aux7 + g3*aux1)
656 b20 = 4.d0*(g1*aux8 + g3*aux2)
657 b21 = 4.d0*(g1*aux9 + g3*aux3)
658 b22 = 4.d0*(g4*aux1 + g1*aux10)
659 b23 = 4.d0*(g4*aux2 + g1*aux11)
660 b24 = 4.d0*(g4*aux3 + g1*aux12)
661 b25 = 4.d0*(g4*aux4 + g2*aux10)
662 b26 = 4.d0*(g4*aux5 + g2*aux11)
663 b27 = 4.d0*(g4*aux6 + g2*aux12)
664 b28 = 4.d0*(g4*aux7 + g3*aux10)
665 b29 = 4.d0*(g4*aux8 + g3*aux11)
666 b30 = 4.d0*(g4*aux9 + g3*aux12)
668 e11 = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + &
669 b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10) * vx6inv
670 e22 = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + &
671 b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10) * vx6inv
672 e33 = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + &
673 b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10) * vx6inv
674 e12 = (b2*u1 + b1*v1 + b5*u2 + b4*v2 &
675 + b8*u3 + b7*v3 + b11*u4 + b10*v4 &
676 + b14*u5 + b13*v5 + b17*u6 + b16*v6 &
677 + b20*u7 + b19*v7 + b23*u8 + b22*v8 &
678 + b26*u9 + b25*v9 + b29*u10 + b28*v10) * vx6inv
679 e23 = (b3*v1 + b2*w1 + b6*v2 + b5*w2 &
680 + b9*v3 + b8*w3 + b12*v4 + b11*w4 &
681 + b15*v5 + b14*w5 + b18*v6 + b17*w6 &
682 + b21*v7 + b20*w7 + b24*v8 + b23*w8 &
683 + b27*v9 + b26*w9 + b30*v10 + b29*w10) * vx6inv
684 e13 = (b3*u1 + b1*w1 + b6*u2 + b4*w2 &
685 + b9*u3 + b7*w3 + b12*u4 + b10*w4 &
686 + b15*u5 + b13*w5 + b18*u6 + b16*w6 &
687 + b21*u7 + b19*w7 + b24*u8 + b22*w8 &
688 + b27*u9 + b25*w9 + b30*u10 + b28*w10) * vx6inv
690 s11l(4,
i) = e11*ci(1,
j) + e22*ci(2,
j) + e33*ci(4,
j)
691 s22l(4,
i) = e11*ci(2,
j) + e22*ci(3,
j) + e33*ci(5,
j)
692 s33l(4,
i) = e11*ci(4,
j) + e22*ci(5,
j) + e33*ci(6,
j)
693 s12l(4,
i) = e12*ci(7,
j)
694 s23l(4,
i) = e23*ci(8,
j)
695 s13l(4,
i) = e13*ci(9,
j)
697 r1 = r1 + s11l(4,
i)*b1 + s12l(4,
i)*b2 + s13l(4,
i)*b3
698 r2 = r2 + s22l(4,
i)*b2 + s12l(4,
i)*b1 + s23l(4,
i)*b3
699 r3 = r3 + s33l(4,
i)*b3 + s23l(4,
i)*b2 + s13l(4,
i)*b1
700 r4 = r4 + s11l(4,
i)*b4 + s12l(4,
i)*b5 + s13l(4,
i)*b6
701 r5 = r5 + s22l(4,
i)*b5 + s12l(4,
i)*b4 + s23l(4,
i)*b6
702 r6 = r6 + s33l(4,
i)*b6 + s23l(4,
i)*b5 + s13l(4,
i)*b4
703 r7 = r7 + s11l(4,
i)*b7 + s12l(4,
i)*b8 + s13l(4,
i)*b9
704 r8 = r8 + s22l(4,
i)*b8 + s12l(4,
i)*b7 + s23l(4,
i)*b9
705 r9 = r9 + s33l(4,
i)*b9 + s23l(4,
i)*b8 + s13l(4,
i)*b7
706 r10 = r10 +s11l(4,
i)*b10 + s12l(4,
i)*b11 + s13l(4,
i)*b12
707 r11 = r11 +s22l(4,
i)*b11 + s12l(4,
i)*b10 + s23l(4,
i)*b12
708 r12 = r12 +s33l(4,
i)*b12 + s23l(4,
i)*b11 + s13l(4,
i)*b10
709 r13 = r13 +s11l(4,
i)*b13 + s12l(4,
i)*b14 + s13l(4,
i)*b15
710 r14 = r14 +s22l(4,
i)*b14 + s12l(4,
i)*b13 + s23l(4,
i)*b15
711 r15 = r15 +s33l(4,
i)*b15 + s23l(4,
i)*b14 + s13l(4,
i)*b13
712 r16 = r16 +s11l(4,
i)*b16 + s12l(4,
i)*b17 + s13l(4,
i)*b18
713 r17 = r17 +s22l(4,
i)*b17 + s12l(4,
i)*b16 + s23l(4,
i)*b18
714 r18 = r18 +s33l(4,
i)*b18 + s23l(4,
i)*b17 + s13l(4,
i)*b16
715 r19 = r19 +s11l(4,
i)*b19 + s12l(4,
i)*b20 + s13l(4,
i)*b21
716 r20 = r20 +s22l(4,
i)*b20 + s12l(4,
i)*b19 + s23l(4,
i)*b21
717 r21 = r21 +s33l(4,
i)*b21 + s23l(4,
i)*b20 + s13l(4,
i)*b19
718 r22 = r22 +s11l(4,
i)*b22 + s12l(4,
i)*b23 + s13l(4,
i)*b24
719 r23 = r23 +s22l(4,
i)*b23 + s12l(4,
i)*b22 + s23l(4,
i)*b24
720 r24 = r24 +s33l(4,
i)*b24 + s23l(4,
i)*b23 + s13l(4,
i)*b22
721 r25 = r25 +s11l(4,
i)*b25 + s12l(4,
i)*b26 + s13l(4,
i)*b27
722 r26 = r26 +s22l(4,
i)*b26 + s12l(4,
i)*b25 + s23l(4,
i)*b27
723 r27 = r27 +s33l(4,
i)*b27 + s23l(4,
i)*b26 + s13l(4,
i)*b25
724 r28 = r28 +s11l(4,
i)*b28 + s12l(4,
i)*b29 + s13l(4,
i)*b30
725 r29 = r29 +s22l(4,
i)*b29 + s12l(4,
i)*b28 + s23l(4,
i)*b30
726 r30 = r30 +s33l(4,
i)*b30 + s23l(4,
i)*b29 + s13l(4,
i)*b28
736 r_in(k1n1) = r_in(k1n1) - r1*0.04166666666666667d0
737 r_in(k2n1) = r_in(k2n1) - r2*0.04166666666666667d0
738 r_in(k3n1) = r_in(k3n1) - r3*0.04166666666666667d0
740 r_in(k1n2) = r_in(k1n2) - r4*0.04166666666666667d0
741 r_in(k2n2) = r_in(k2n2) - r5*0.04166666666666667d0
742 r_in(k3n2) = r_in(k3n2) - r6*0.04166666666666667d0
744 r_in(k1n3) = r_in(k1n3) - r7*0.04166666666666667d0
745 r_in(k2n3) = r_in(k2n3) - r8*0.04166666666666667d0
746 r_in(k3n3) = r_in(k3n3) - r9*0.04166666666666667d0
748 r_in(k1n4) = r_in(k1n4) - r10*0.04166666666666667d0
749 r_in(k2n4) = r_in(k2n4) - r11*0.04166666666666667d0
750 r_in(k3n4) = r_in(k3n4) - r12*0.04166666666666667d0
752 r_in(k1n5) = r_in(k1n5) - r13*0.04166666666666667d0
753 r_in(k2n5) = r_in(k2n5) - r14*0.04166666666666667d0
754 r_in(k3n5) = r_in(k3n5) - r15*0.04166666666666667d0
756 r_in(k1n6) = r_in(k1n6) - r16*0.04166666666666667d0
757 r_in(k2n6) = r_in(k2n6) - r17*0.04166666666666667d0
758 r_in(k3n6) = r_in(k3n6) - r18*0.04166666666666667d0
760 r_in(k1n7) = r_in(k1n7) - r19*0.04166666666666667d0
761 r_in(k2n7) = r_in(k2n7) - r20*0.04166666666666667d0
762 r_in(k3n7) = r_in(k3n7) - r21*0.04166666666666667d0
764 r_in(k1n8) = r_in(k1n8) - r22*0.04166666666666667d0
765 r_in(k2n8) = r_in(k2n8) - r23*0.04166666666666667d0
766 r_in(k3n8) = r_in(k3n8) - r24*0.04166666666666667d0
768 r_in(k1n9) = r_in(k1n9) - r25*0.04166666666666667d0
769 r_in(k2n9) = r_in(k2n9) - r26*0.04166666666666667d0
770 r_in(k3n9) = r_in(k3n9) - r27*0.04166666666666667d0
772 r_in(k1n10) = r_in(k1n10) - r28*0.04166666666666667d0
773 r_in(k2n10) = r_in(k2n10) - r29*0.04166666666666667d0
774 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)