state layout was broken

This commit is contained in:
Martin Diehl 2018-11-23 07:01:04 +01:00
parent 6df68d9428
commit c7fb868b40
1 changed files with 1 additions and 0 deletions

View File

@ -424,6 +424,7 @@ subroutine plastic_kinehardening_init(fileUnit)
call material_allocatePlasticState(phase,NipcMyPhase,sizeState,sizeDotState,sizeDeltaState, &
nSlip,0_pInt,0_pInt)
plasticState(phase)%offsetDeltaState = sizeDotState
plasticState(phase)%sizePostResults = plastic_kinehardening_sizePostResults(instance)
offset_slip = plasticState(phase)%nSlip+plasticState(phase)%nTwin+2_pInt