causes array access out of bounds, needs further checks
This commit is contained in:
parent
07dcdc9fc6
commit
ce6e6679d5
|
@ -440,18 +440,18 @@ subroutine crystallite_init
|
||||||
enddo
|
enddo
|
||||||
!$OMP END PARALLEL DO
|
!$OMP END PARALLEL DO
|
||||||
|
|
||||||
do ph = 1_pInt,material_Nphase
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
! propagate dependent states to materialpoint and boundary value problem level
|
! propagate dependent states to materialpoint and boundary value problem level
|
||||||
plasticState(ph)%partionedState0(plasticState(ph)%offsetDeltaState+plasticState(ph)%sizeDeltaState: &
|
! do ph = 1_pInt,material_Nphase
|
||||||
plasticState(ph)%sizeState,:) &
|
! plasticState(ph)%partionedState0(plasticState(ph)%offsetDeltaState+plasticState(ph)%sizeDeltaState: &
|
||||||
= plasticState(ph)%state(plasticState(ph)%offsetDeltaState+plasticState(ph)%sizeDeltaState: &
|
! plasticState(ph)%sizeState,:) &
|
||||||
plasticState(ph)%sizeState,:)
|
! = plasticState(ph)%state(plasticState(ph)%offsetDeltaState+plasticState(ph)%sizeDeltaState: &
|
||||||
plasticState(ph)%state0 (plasticState(ph)%offsetDeltaState+plasticState(ph)%sizeDeltaState: &
|
! plasticState(ph)%sizeState,:)
|
||||||
plasticState(ph)%sizeState,:) &
|
! plasticState(ph)%state0 (plasticState(ph)%offsetDeltaState+plasticState(ph)%sizeDeltaState: &
|
||||||
= plasticState(ph)%state(plasticState(ph)%offsetDeltaState+plasticState(ph)%sizeDeltaState: &
|
! plasticState(ph)%sizeState,:) &
|
||||||
plasticState(ph)%sizeState,:)
|
! = plasticState(ph)%state(plasticState(ph)%offsetDeltaState+plasticState(ph)%sizeDeltaState: &
|
||||||
enddo
|
! plasticState(ph)%sizeState,:)
|
||||||
|
! enddo
|
||||||
|
|
||||||
call crystallite_stressAndItsTangent(.true.) ! request elastic answers
|
call crystallite_stressAndItsTangent(.true.) ! request elastic answers
|
||||||
crystallite_fallbackdPdF = crystallite_dPdF ! use initial elastic stiffness as fallback
|
crystallite_fallbackdPdF = crystallite_dPdF ! use initial elastic stiffness as fallback
|
||||||
|
|
Loading…
Reference in New Issue