len is length of string, here size is required

This commit is contained in:
Martin Diehl 2018-05-27 14:07:34 +02:00
parent e0e97abda4
commit 39e2e8a305
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ subroutine plastic_isotropic_init(fileUnit)
!--------------------------------------------------------------------------------------------------
! allocate state arrays
sizeDotState = len(["flowstress ","accumulated_shear"])
sizeDotState = size(["flowstress ","accumulated_shear"])
sizeDeltaState = 0_pInt ! no sudden jumps in state
sizeState = sizeDotState + sizeDeltaState
plasticState(phase)%sizeState = sizeState