bug fix in microstructure

-This line, and those below, will be ignored--

M    constitutive_dislotwin.f90
This commit is contained in:
Pratheek Shanthraj 2013-01-24 13:12:51 +00:00
parent 25e2330a12
commit 7a84209a14
1 changed files with 1 additions and 1 deletions

View File

@ -856,7 +856,7 @@ forall (s = 1_pInt:ns) &
!* 1/mean free distance between 2 twin stacks from different systems seen by a moving dislocation
!$OMP CRITICAL (evilmatmul)
state(g,ip,el)%p((3_pInt*ns+nt+1_pInt):(4_pInt*ns+nt)) = 0.0_pReal
if (nt > 0_pInt) &
if (nt > 0_pInt .and. ns > 0_pInt) &
state(g,ip,el)%p((3_pInt*ns+nt+1):(4_pInt*ns+nt)) = &
matmul(constitutive_dislotwin_interactionMatrix_SlipTwin(1:ns,1:nt,myInstance),fOverStacksize(1:nt))/(1.0_pReal-sumf)
!$OMP END CRITICAL (evilmatmul)