1 SUBROUTINE indexx(STRESS,DDSDDE,SIG,TNG,NTENS,NDI)
4 include
'PARAM_UMAT.INC' 6 INTEGER II1(6),II2(6),NTENS,NDI,I1,J1
7 DOUBLE PRECISION STRESS(ntens),DDSDDE(ntens,ntens)
8 DOUBLE PRECISION SIG(ndi,ndi),TNG(ndi,ndi,ndi,ndi)
9 DOUBLE PRECISION PP1,PP2
27 stress(i1)=sig(ii1(i1),ii2(i1))
30 pp1=tng(ii1(i1),ii2(i1),ii1(j1),ii2(j1))
31 pp2=tng(ii1(i1),ii2(i1),ii2(j1),ii1(j1))
32 ddsdde(i1,j1)=(one/two)*(pp1+pp2)
subroutine indexx(STRESS, DDSDDE, SIG, TNG, NTENS, NDI)