correct iteration skipping

This commit is contained in:
Martin Diehl 2020-03-25 11:13:46 +01:00
parent 32b9a5ab15
commit 67f64cf7e1
1 changed files with 3 additions and 3 deletions

View File

@ -1496,7 +1496,7 @@ subroutine integrateStateRKCK45
crystallite_todo(g,i,e) = integrateStress(g,i,e,CC(stage))
if(.not. (crystallite_todo(g,i,e) .or. crystallite_localPlasticity(g,i,e))) &
nonlocalBroken = .true.
if(.not. crystallite_todo(g,i,e)) cycle
if(.not. crystallite_todo(g,i,e)) exit
call constitutive_collectDotState(crystallite_S(1:3,1:3,g,i,e), &
crystallite_partionedF0, &
@ -1509,11 +1509,11 @@ subroutine integrateStateRKCK45
enddo
if(.not. (crystallite_todo(g,i,e) .or. crystallite_localPlasticity(g,i,e))) &
nonlocalBroken = .true.
if(.not. crystallite_todo(g,i,e)) cycle
if(.not. crystallite_todo(g,i,e)) exit
enddo
if(.not. crystallite_todo(g,i,e)) exit
if(.not. crystallite_todo(g,i,e)) cycle
sizeDotState = plasticState(p)%sizeDotState
plasticState(p)%RKCK45dotState(6,:,c) = plasticState (p)%dotState(:,c)