wrong state handling

This commit is contained in:
Chuanlai Liu 2016-02-22 15:45:18 +01:00
parent 15e1c7edd8
commit c87625b30c
1 changed files with 1 additions and 1 deletions

View File

@ -2007,7 +2007,7 @@ subroutine plastic_dislotwin_dotState(Tstar_v,Temperature,ipc,ip,el)
!* Total twin volume fraction !* Total twin volume fraction
sumf = sum(state(instance)%twinFraction(1_pInt:nt,of)) ! safe for nt == 0 sumf = sum(state(instance)%twinFraction(1_pInt:nt,of)) ! safe for nt == 0
plasticState(instance)%dotState(:,of) = 0.0_pReal plasticState(ph)%dotState(:,of) = 0.0_pReal
!* Total transformed volume fraction !* Total transformed volume fraction
sumftr = sum(state(instance)%stressTransFraction(1_pInt:nr,of)) + & sumftr = sum(state(instance)%stressTransFraction(1_pInt:nr,of)) + &