54 s11,s22,s33,s12,s23,s13, &
55 numnp,nstart,nend,numcstet,numat_vol,&
56 statev_part1,statev_part2,nstatev,
matrix,nmatrix, &
57 particle,nparticle,nparticletype,interfac,ninterfac, straintrace)
116 integer :: nparticle,nparticletype
124 real*8,
dimension(1:numcstet) :: statev_part1
125 real*8,
dimension(1:numcstet) :: statev_part2
126 real*8,
dimension(1:NMATRIX) ::
matrix
127 real*8,
dimension(1:NPARTICLE,1:NPARTICLETYPE) :: particle
128 real*8,
dimension(1:NINTERFAC) :: interfac
129 real*8,
dimension(1:numcstet) :: straintrace
130 real*8 :: straintrace_gauss
134 REAL*8,
DIMENSION(1:3,1:numnp) :: coor
136 REAL*8,
DIMENSION(1:3*numnp) :: r_in
138 REAL*8,
DIMENSION(1:3*numnp) ::
d
140 REAL*8,
DIMENSION(1:4,1:numcstet) :: s11, s22, s33, s12, s23, s13
142 INTEGER,
DIMENSION(1:10,1:numcstet) :: lmcstet
144 INTEGER,
DIMENSION(1:numcstet) :: matcstet
147 INTEGER :: n1,n2,n3,n4,n5,n6,n7,n8,n9,n10
149 REAL*8 :: u1,u2,u3,u4,u5,u6,u7,u8,u9,u10
150 REAL*8 :: v1,v2,v3,v4,v5,v6,v7,v8,v9,v10
151 REAL*8 :: w1,w2,w3,w4,w5,w6,w7,w8,w9,w10
155 REAL*8 :: b1,b2,b3,b4,b5,b6,b7,b8,b9,b10
156 REAL*8 :: b11,b12,b13,b14,b15,b16,b17,b18,b19,b20
157 REAL*8 :: b21,b22,b23,b24,b25,b26,b27,b28,b29,b30
159 REAL*8 :: dudx,dvdy,dwdz,dudy,dvdx,dvdz,dwdy,dudz,dwdx
161 REAL*8 :: e11,e22,e33,e12,e23,e13
163 REAL*8 :: x1,x2,x3,x4,x5,x6,x7,x8,x9,x10
164 REAL*8 :: y1,y2,y3,y4,y5,y6,y7,y8,y9,y10
165 REAL*8 :: z1,z2,z3,z4,z5,z6,z7,z8,z9,z10
167 INTEGER ::
i,
j,nstart,nend
168 REAL*8 :: aux1,aux2,aux3,aux4,aux5,aux6,aux7,aux8,aux9,aux10,aux11,aux12
170 REAL*8 :: r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17,r18
171 REAL*8 :: r19,r20,r21,r22,r23,r24,r25,r26,r27,r28,r29,r30
172 REAL*8 :: g1, g2, g3, g4
173 REAL*8 :: xn1, xn2, xn3, xn4
175 REAL*8 :: x14, x24, x34, y14, y24, y34, z14, z24, z34
177 REAL*8 :: c11, c21, c31
178 INTEGER :: k1n1,k1n2,k1n3,k1n4,k1n5,k1n6,k1n7,k1n8,k1n9,k1n10
179 INTEGER :: k2n1,k2n2,k2n3,k2n4,k2n5,k2n6,k2n7,k2n8,k2n9,k2n10
180 INTEGER :: k3n1,k3n2,k3n3,k3n4,k3n5,k3n6,k3n7,k3n8,k3n9,k3n10
182 REAL*8 :: f11, f12, f13, f21, f22, f23, f31, f32, f33
183 REAL*8,
dimension(1:3,1:3) :: f
184 REAL*8,
dimension(1:3,1:3) ::
s, strain
188 REAL*8,
DIMENSION(1:4,1:4) :: gaussintpt = reshape( &
189 (/0.58541020d0,0.13819660d0,0.13819660d0,0.13819660d0, &
190 0.13819660d0,0.58541020d0,0.13819660d0,0.13819660d0, &
191 0.13819660d0,0.13819660d0,0.58541020d0,0.13819660d0, &
192 0.13819660d0,0.13819660d0,0.13819660d0,0.58541020d0/),(/4,4/) )
196 REAL*8,
DIMENSION(1:3,1:3) :: fij, cij
199 REAL*8,
DIMENSION(1:4,1:NPARTICLETYPE) :: statev_gauss
294 vx6 = x2*y3*z4 - x2*y4*z3 - y2*x3*z4 + y2*x4*z3 + z2*x3*y4 &
295 - z2*x4*y3 - x1*y3*z4 + x1*y4*z3 + x1*y2*z4 - x1*y2*z3 &
296 - x1*z2*y4 + x1*z2*y3 + y1*x3*z4 - y1*x4*z3 - y1*x2*z4 &
297 + y1*x2*z3 + y1*z2*x4 - y1*z2*x3 - z1*x3*y4 + z1*x4*y3 &
298 + z1*x2*y4 - z1*x2*y3 - z1*y2*x4 + z1*y2*x3
302 aux1 = -(y3*z4 - y4*z3 - y2*z4 + y2*z3 + z2*y4 - z2*y3)
303 aux2 = (x3*z4 - x4*z3 - x2*z4 + x2*z3 + z2*x4 - z2*x3)
304 aux3 = -(x3*y4 - x4*y3 - x2*y4 + x2*y3 + y2*x4 - y2*x3)
305 aux4 = (y3*z4 - y4*z3 - y1*z4 + y1*z3 + z1*y4 - z1*y3)
306 aux5 = -(x3*z4 - x4*z3 - x1*z4 + x1*z3 + z1*x4 - z1*x3)
307 aux6 = (x3*y4 - x4*y3 - x1*y4 + x1*y3 + y1*x4 - y1*x3)
308 aux7 = -(y2*z4 - z2*y4 - y1*z4 + y1*z2 + z1*y4 - z1*y2)
309 aux8 = (x2*z4 - z2*x4 - x1*z4 + x1*z2 + z1*x4 - z1*x2)
310 aux9 = -(x2*y4 - y2*x4 - x1*y4 + x1*y2 + y1*x4 - y1*x2)
311 aux10 = (y2*z3 - z2*y3 - y1*z3 + y1*z2 + z1*y3 - z1*y2)
312 aux11 =-(x2*z3 - z2*x3 - x1*z3 + x1*z2 + z1*x3 - z1*x2)
313 aux12 = (x2*y3 - y2*x3 - x1*y3 + x1*y2 + y1*x3 - y1*x2)
347 straintrace_gauss = 0.d0
351 g1 = gaussintpt(igpt,1)
352 g2 = gaussintpt(igpt,2)
353 g3 = gaussintpt(igpt,3)
354 g4 = gaussintpt(igpt,4)
380 b13 = 4.d0*(g2*aux1 + g1*aux4)
381 b14 = 4.d0*(g2*aux2 + g1*aux5)
382 b15 = 4.d0*(g2*aux3 + g1*aux6)
384 b16 = 4.d0*(g3*aux4 + g2*aux7)
385 b17 = 4.d0*(g3*aux5 + g2*aux8)
386 b18 = 4.d0*(g3*aux6 + g2*aux9)
388 b19 = 4.d0*(g1*aux7 + g3*aux1)
389 b20 = 4.d0*(g1*aux8 + g3*aux2)
390 b21 = 4.d0*(g1*aux9 + g3*aux3)
392 b22 = 4.d0*(g4*aux1 + g1*aux10)
393 b23 = 4.d0*(g4*aux2 + g1*aux11)
394 b24 = 4.d0*(g4*aux3 + g1*aux12)
396 b25 = 4.d0*(g4*aux4 + g2*aux10)
397 b26 = 4.d0*(g4*aux5 + g2*aux11)
398 b27 = 4.d0*(g4*aux6 + g2*aux12)
400 b28 = 4.d0*(g4*aux7 + g3*aux10)
401 b29 = 4.d0*(g4*aux8 + g3*aux11)
402 b30 = 4.d0*(g4*aux9 + g3*aux12)
406 dudx = (b1*u1 + b4*u2 + b7*u3 + b10*u4 + b13*u5 + b16*u6 + b19*u7 + b22*u8 + b25*u9 + b28*u10)*vx6inv
407 dvdy = (b2*v1 + b5*v2 + b8*v3 + b11*v4 + b14*v5 + b17*v6 + b20*v7 + b23*v8 + b26*v9 + b29*v10)*vx6inv
408 dwdz = (b3*w1 + b6*w2 + b9*w3 + b12*w4 + b15*w5 + b18*w6 + b21*w7 + b24*w8 + b27*w9 + b30*w10)*vx6inv
409 dudy = (b2*u1 + b5*u2 + b8*u3 + b11*u4 + b14*u5 + b17*u6 + b20*u7 + b23*u8 + b26*u9 + b29*u10)*vx6inv
410 dvdx = (b1*v1 + b4*v2 + b7*v3 + b10*v4 + b13*v5 + b16*v6 + b19*v7 + b22*v8 + b25*v9 + b28*v10)*vx6inv
411 dvdz = (b3*v1 + b6*v2 + b9*v3 + b12*v4 + b15*v5 + b18*v6 + b21*v7 + b24*v8 + b27*v9 + b30*v10)*vx6inv
412 dwdy = (b2*w1 + b5*w2 + b8*w3 + b11*w4 + b14*w5 + b17*w6 + b20*w7 + b23*w8 + b26*w9 + b29*w10)*vx6inv
413 dudz = (b3*u1 + b6*u2 + b9*u3 + b12*u4 + b15*u5 + b18*u6 + b21*u7 + b24*u8 + b27*u9 + b30*u10)*vx6inv
414 dwdx = (b1*w1 + b4*w2 + b7*w3 + b10*w4 + b13*w5 + b16*w6 + b19*w7 + b22*w8 + b25*w9 + b28*w10)*vx6inv
430 particle,nparticle,nparticletype,interfac,ninterfac,
s, strain,statev_gauss(igpt,1),statev_gauss(igpt,2))
432 straintrace_gauss = straintrace_gauss + strain(1,1)+ strain(2,2)+ strain(3,3)
444 ( s11(igpt,
i)*b1*(1.d0+dudx) + s22(igpt,
i)*b2*dudy + s33(igpt,
i)*b3*dudz &
445 + s12(igpt,
i)*( b2*(1.d0+dudx) + b1*dudy ) &
446 + s23(igpt,
i)*( b3*dudy + b2*dudz ) &
447 + s13(igpt,
i)*( b3*(1.d0+dudx) + b1*dudz ) )
449 ( s11(igpt,
i)*b1*dvdx + s22(igpt,
i)*b2*(1.d0+dvdy) + s33(igpt,
i)*b3*dvdz &
450 + s12(igpt,
i)*( b1*(1.d0+dvdy) + b2*dvdx ) &
451 + s23(igpt,
i)*( b3*(1.d0+dvdy) + b2*dvdz ) &
452 + s13(igpt,
i)*( b3*dvdx + b1*dvdz ) )
454 ( s11(igpt,
i)*b1*dwdx + s22(igpt,
i)*b2*dwdy + s33(igpt,
i)*b3*(1.d0+dwdz) &
455 + s12(igpt,
i)*( b2*dwdx + b1*dwdy ) &
456 + s23(igpt,
i)*( b3*dwdy + b2*(1.d0 + dwdz) ) &
457 + s13(igpt,
i)*( b3*dwdx + b1*(1.d0 + dwdz) ) )
460 ( s11(igpt,
i)*b4*(1.d0+dudx) + s22(igpt,
i)*b5*dudy + s33(igpt,
i)*b6*dudz &
461 + s12(igpt,
i)*( b5*(1.d0+dudx) + b4*dudy ) &
462 + s23(igpt,
i)*( b6*dudy + b5*dudz ) &
463 + s13(igpt,
i)*( b6*(1.d0+dudx) + b4*dudz ) )
465 ( s11(igpt,
i)*b4*dvdx + s22(igpt,
i)*b5*(1.d0+dvdy) + s33(igpt,
i)*b6*dvdz &
466 + s12(igpt,
i)*( b4*(1.d0+dvdy) + b5*dvdx ) &
467 + s23(igpt,
i)*( b6*(1.d0+dvdy) + b5*dvdz ) &
468 + s13(igpt,
i)*( b6*dvdx + b4*dvdz ) )
470 ( s11(igpt,
i)*b4*dwdx + s22(igpt,
i)*b5*dwdy + s33(igpt,
i)*b6*(1.d0+dwdz) &
471 + s12(igpt,
i)*( b5*dwdx + b4*dwdy ) &
472 + s23(igpt,
i)*( b6*dwdy + b5*(1.d0 + dwdz) ) &
473 + s13(igpt,
i)*( b6*dwdx + b4*(1.d0 + dwdz) ) )
476 ( s11(igpt,
i)*b7*(1.d0+dudx) + s22(igpt,
i)*b8*dudy + s33(igpt,
i)*b9*dudz &
477 + s12(igpt,
i)*( b8*(1.d0+dudx) + b7*dudy ) &
478 + s23(igpt,
i)*( b9*dudy + b8*dudz ) &
479 + s13(igpt,
i)*( b9*(1.d0+dudx) + b7*dudz ) )
481 ( s11(igpt,
i)*b7*dvdx + s22(igpt,
i)*b8*(1.d0+dvdy) + s33(igpt,
i)*b9*dvdz &
482 + s12(igpt,
i)*( b7*(1.d0+dvdy) + b8*dvdx ) &
483 + s23(igpt,
i)*( b9*(1.d0+dvdy) + b8*dvdz ) &
484 + s13(igpt,
i)*( b9*dvdx + b7*dvdz ) )
486 ( s11(igpt,
i)*b7*dwdx + s22(igpt,
i)*b8*dwdy + s33(igpt,
i)*b9*(1.d0+dwdz) &
487 + s12(igpt,
i)*( b8*dwdx + b7*dwdy ) &
488 + s23(igpt,
i)*( b9*dwdy + b8*(1.d0 + dwdz) ) &
489 + s13(igpt,
i)*( b9*dwdx + b7*(1.d0 + dwdz) ) )
492 ( s11(igpt,
i)*b10*(1.d0+dudx) + s22(igpt,
i)*b11*dudy+s33(igpt,
i)*b12*dudz &
493 + s12(igpt,
i)*( b11*(1.d0+dudx) + b10*dudy ) &
494 + s23(igpt,
i)*( b12*dudy + b11*dudz ) &
495 + s13(igpt,
i)*( b12*(1.d0+dudx) + b10*dudz ) )
497 ( s11(igpt,
i)*b10*dvdx + s22(igpt,
i)*b11*(1.d0+dvdy)+s33(igpt,
i)*b12*dvdz &
498 + s12(igpt,
i)*( b10*(1.d0+dvdy) + b11*dvdx ) &
499 + s23(igpt,
i)*( b12*(1.d0+dvdy) + b11*dvdz ) &
500 + s13(igpt,
i)*( b12*dvdx + b10*dvdz ) )
502 ( s11(igpt,
i)*b10*dwdx + s22(igpt,
i)*b11*dwdy+s33(igpt,
i)*b12*(1.d0+dwdz) &
503 + s12(igpt,
i)*( b11*dwdx + b10*dwdy ) &
504 + s23(igpt,
i)*( b12*dwdy + b11*(1.d0 + dwdz) ) &
505 + s13(igpt,
i)*( b12*dwdx + b10*(1.d0 + dwdz) ) )
508 ( s11(igpt,
i)*b13*(1.d0+dudx) + s22(igpt,
i)*b14*dudy + s33(igpt,
i)*b15*dudz &
509 + s12(igpt,
i)*( b14*(1.d0+dudx) + b13*dudy ) &
510 + s23(igpt,
i)*( b15*dudy + b14*dudz ) &
511 + s13(igpt,
i)*( b15*(1.d0+dudx) + b13*dudz ) )
513 ( s11(igpt,
i)*b13*dvdx + s22(igpt,
i)*b14*(1.d0+dvdy) + s33(igpt,
i)*b15*dvdz &
514 + s12(igpt,
i)*( b13*(1.d0+dvdy) + b14*dvdx ) &
515 + s23(igpt,
i)*( b15*(1.d0+dvdy) + b14*dvdz ) &
516 + s13(igpt,
i)*( b15*dvdx + b13*dvdz ) )
518 ( s11(igpt,
i)*b13*dwdx + s22(igpt,
i)*b14*dwdy + s33(igpt,
i)*b15*(1.d0+dwdz) &
519 + s12(igpt,
i)*( b14*dwdx + b13*dwdy ) &
520 + s23(igpt,
i)*( b15*dwdy + b14*(1.d0 + dwdz) ) &
521 + s13(igpt,
i)*( b15*dwdx + b13*(1.d0 + dwdz) ) )
524 ( s11(igpt,
i)*b16*(1.d0+dudx) + s22(igpt,
i)*b17*dudy + s33(igpt,
i)*b18*dudz &
525 + s12(igpt,
i)*( b17*(1.d0+dudx) + b16*dudy ) &
526 + s23(igpt,
i)*( b18*dudy + b17*dudz ) &
527 + s13(igpt,
i)*( b18*(1.d0+dudx) + b16*dudz ) )
529 ( s11(igpt,
i)*b16*dvdx + s22(igpt,
i)*b17*(1.d0+dvdy) + s33(igpt,
i)*b18*dvdz &
530 + s12(igpt,
i)*( b16*(1.d0+dvdy) + b17*dvdx ) &
531 + s23(igpt,
i)*( b18*(1.d0+dvdy) + b17*dvdz ) &
532 + s13(igpt,
i)*( b18*dvdx + b16*dvdz ) )
534 ( s11(igpt,
i)*b16*dwdx + s22(igpt,
i)*b17*dwdy + s33(igpt,
i)*b18*(1.d0+dwdz) &
535 + s12(igpt,
i)*( b17*dwdx + b16*dwdy ) &
536 + s23(igpt,
i)*( b18*dwdy + b17*(1.d0 + dwdz) ) &
537 + s13(igpt,
i)*( b18*dwdx + b16*(1.d0 + dwdz) ) )
540 ( s11(igpt,
i)*b19*(1.d0+dudx) + s22(igpt,
i)*b20*dudy + s33(igpt,
i)*b21*dudz &
541 + s12(igpt,
i)*( b20*(1.d0+dudx) + b19*dudy ) &
542 + s23(igpt,
i)*( b21*dudy + b20*dudz ) &
543 + s13(igpt,
i)*( b21*(1.d0+dudx) + b19*dudz ) )
545 ( s11(igpt,
i)*b19*dvdx + s22(igpt,
i)*b20*(1.d0+dvdy) + s33(igpt,
i)*b21*dvdz &
546 + s12(igpt,
i)*( b19*(1.d0+dvdy) + b20*dvdx ) &
547 + s23(igpt,
i)*( b21*(1.d0+dvdy) + b20*dvdz ) &
548 + s13(igpt,
i)*( b21*dvdx + b19*dvdz ) )
550 ( s11(igpt,
i)*b19*dwdx + s22(igpt,
i)*b20*dwdy + s33(igpt,
i)*b21*(1.d0+dwdz) &
551 + s12(igpt,
i)*( b20*dwdx + b19*dwdy ) &
552 + s23(igpt,
i)*( b21*dwdy + b20*(1.d0 + dwdz) ) &
553 + s13(igpt,
i)*( b21*dwdx + b19*(1.d0 + dwdz) ) )
556 ( s11(igpt,
i)*b22*(1.d0+dudx) + s22(igpt,
i)*b23*dudy+s33(igpt,
i)*b24*dudz &
557 + s12(igpt,
i)*( b23*(1.d0+dudx) + b22*dudy ) &
558 + s23(igpt,
i)*( b24*dudy + b23*dudz ) &
559 + s13(igpt,
i)*( b24*(1.d0+dudx) + b22*dudz ) )
561 ( s11(igpt,
i)*b22*dvdx + s22(igpt,
i)*b23*(1.d0+dvdy)+s33(igpt,
i)*b24*dvdz &
562 + s12(igpt,
i)*( b22*(1.d0+dvdy) + b23*dvdx ) &
563 + s23(igpt,
i)*( b24*(1.d0+dvdy) + b23*dvdz ) &
564 + s13(igpt,
i)*( b24*dvdx + b22*dvdz ) )
566 ( s11(igpt,
i)*b22*dwdx + s22(igpt,
i)*b23*dwdy+s33(igpt,
i)*b24*(1.d0+dwdz) &
567 + s12(igpt,
i)*( b23*dwdx + b22*dwdy ) &
568 + s23(igpt,
i)*( b24*dwdy + b23*(1.d0 + dwdz) ) &
569 + s13(igpt,
i)*( b24*dwdx + b22*(1.d0 + dwdz) ) )
572 ( s11(igpt,
i)*b25*(1.d0+dudx) + s22(igpt,
i)*b26*dudy+s33(igpt,
i)*b27*dudz &
573 + s12(igpt,
i)*( b26*(1.d0+dudx) + b25*dudy ) &
574 + s23(igpt,
i)*( b27*dudy + b26*dudz ) &
575 + s13(igpt,
i)*( b27*(1.d0+dudx) + b25*dudz ) )
577 ( s11(igpt,
i)*b25*dvdx + s22(igpt,
i)*b26*(1.d0+dvdy)+s33(igpt,
i)*b27*dvdz &
578 + s12(igpt,
i)*( b25*(1.d0+dvdy) + b26*dvdx ) &
579 + s23(igpt,
i)*( b27*(1.d0+dvdy) + b26*dvdz ) &
580 + s13(igpt,
i)*( b27*dvdx + b25*dvdz ) )
582 ( s11(igpt,
i)*b25*dwdx + s22(igpt,
i)*b26*dwdy+s33(igpt,
i)*b27*(1.d0+dwdz) &
583 + s12(igpt,
i)*( b26*dwdx + b25*dwdy ) &
584 + s23(igpt,
i)*( b27*dwdy + b26*(1.d0 + dwdz) ) &
585 + s13(igpt,
i)*( b27*dwdx + b25*(1.d0 + dwdz) ) )
588 ( s11(igpt,
i)*b28*(1.d0+dudx) + s22(igpt,
i)*b29*dudy+s33(igpt,
i)*b30*dudz &
589 + s12(igpt,
i)*( b29*(1.d0+dudx) + b28*dudy ) &
590 + s23(igpt,
i)*( b30*dudy + b29*dudz ) &
591 + s13(igpt,
i)*( b30*(1.d0+dudx) + b28*dudz ) )
593 ( s11(igpt,
i)*b28*dvdx + s22(igpt,
i)*b29*(1.d0+dvdy)+s33(igpt,
i)*b30*dvdz &
594 + s12(igpt,
i)*( b28*(1.d0+dvdy) + b29*dvdx ) &
595 + s23(igpt,
i)*( b30*(1.d0+dvdy) + b29*dvdz ) &
596 + s13(igpt,
i)*( b30*dvdx + b28*dvdz ) )
598 ( s11(igpt,
i)*b28*dwdx + s22(igpt,
i)*b29*dwdy+s33(igpt,
i)*b30*(1.d0+dwdz) &
599 + s12(igpt,
i)*( b29*dwdx + b28*dwdy ) &
600 + s23(igpt,
i)*( b30*dwdy + b29*(1.d0 + dwdz) ) &
601 + s13(igpt,
i)*( b30*dwdx + b28*(1.d0 + dwdz) ) )
605 straintrace(
i) = straintrace_gauss*0.25d0
616 r_in(k1n1) = r_in(k1n1) - r1*0.04166666666666667d0
617 r_in(k2n1) = r_in(k2n1) - r2*0.04166666666666667d0
618 r_in(k3n1) = r_in(k3n1) - r3*0.04166666666666667d0
620 r_in(k1n2) = r_in(k1n2) - r4*0.04166666666666667d0
621 r_in(k2n2) = r_in(k2n2) - r5*0.04166666666666667d0
622 r_in(k3n2) = r_in(k3n2) - r6*0.04166666666666667d0
624 r_in(k1n3) = r_in(k1n3) - r7*0.04166666666666667d0
625 r_in(k2n3) = r_in(k2n3) - r8*0.04166666666666667d0
626 r_in(k3n3) = r_in(k3n3) - r9*0.04166666666666667d0
628 r_in(k1n4) = r_in(k1n4) - r10*0.04166666666666667d0
629 r_in(k2n4) = r_in(k2n4) - r11*0.04166666666666667d0
630 r_in(k3n4) = r_in(k3n4) - r12*0.04166666666666667d0
632 r_in(k1n5) = r_in(k1n5) - r13*0.04166666666666667d0
633 r_in(k2n5) = r_in(k2n5) - r14*0.04166666666666667d0
634 r_in(k3n5) = r_in(k3n5) - r15*0.04166666666666667d0
636 r_in(k1n6) = r_in(k1n6) - r16*0.04166666666666667d0
637 r_in(k2n6) = r_in(k2n6) - r17*0.04166666666666667d0
638 r_in(k3n6) = r_in(k3n6) - r18*0.04166666666666667d0
640 r_in(k1n7) = r_in(k1n7) - r19*0.04166666666666667d0
641 r_in(k2n7) = r_in(k2n7) - r20*0.04166666666666667d0
642 r_in(k3n7) = r_in(k3n7) - r21*0.04166666666666667d0
644 r_in(k1n8) = r_in(k1n8) - r22*0.04166666666666667d0
645 r_in(k2n8) = r_in(k2n8) - r23*0.04166666666666667d0
646 r_in(k3n8) = r_in(k3n8) - r24*0.04166666666666667d0
648 r_in(k1n9) = r_in(k1n9) - r25*0.04166666666666667d0
649 r_in(k2n9) = r_in(k2n9) - r26*0.04166666666666667d0
650 r_in(k3n9) = r_in(k3n9) - r27*0.04166666666666667d0
652 r_in(k1n10) = r_in(k1n10) - r28*0.04166666666666667d0
653 r_in(k2n10) = r_in(k2n10) - r29*0.04166666666666667d0
654 r_in(k3n10) = r_in(k3n10) - r30*0.04166666666666667d0
656 statev_part1(
i)= maxval(statev_gauss(1:4,1))
657 statev_part2(
i)= maxval(statev_gauss(1:4,2))
subroutine huang_const_model(dfgrad, matrix, nmatrix, particle, nparticle, nparticletype, interfac, ninterfac, stress, strain, ilarge, ismall)
subroutine v3d10_nl_huang(coor, matcstet, lmcstet, R_in, d, S11, S22, S33, S12, S23, S13, numnp, nstart, nend, numcstet, numat_vol, STATEV_Part1, STATEV_Part2, NSTATEV, MATRIX, NMATRIX, PARTICLE, NPARTICLE, NPARTICLETYPE, INTERFAC, NINTERFAC, StrainTrace)
CImg< T > & matrix()
Realign pixel values of the instance image as a square matrix.