using better measure (norm) of phase contrast for preconditioning

This commit is contained in:
Pratheek Shanthraj 2012-05-07 08:12:13 +00:00
parent c2954a2b33
commit bdc46a8828
1 changed files with 1 additions and 1 deletions

View File

@ -760,7 +760,7 @@ C_ref = C * wgt
temperature(i,j,k),timeinc,ielem,1_pInt,sigma,dsde, &
P_real(i,j,k,1:3,1:3),dPdF)
CPFEM_mode = 2_pInt
phase_cont(i,j,k) = maxval(dPdF)/maxval(C_ref)
phase_cont(i,j,k) = sqrt(sum(dPdF*dPdF)/sum(C_ref*C_ref))
C = C + dPdF
enddo; enddo; enddo
call debug_info()