copy and paste error, wrong array was set

This commit is contained in:
Martin Diehl 2019-12-08 20:52:05 +01:00
parent b0ce324213
commit c2e91ae5e1
1 changed files with 2 additions and 2 deletions

View File

@ -98,14 +98,14 @@ subroutine CPFEM_init
groupHandle = HDF5_openGroup(fileHandle,'constituent')
do i = 1,size(phase_plasticity)
write(datasetName,'(i0,a)') i,'_omega_plastic'
call HDF5_read(groupHandle,plasticState(i)%state,datasetName)
call HDF5_read(groupHandle,plasticState(i)%state0,datasetName)
enddo
call HDF5_closeGroup(groupHandle)
groupHandle = HDF5_openGroup(fileHandle,'materialpoint')
do i = 1, material_Nhomogenization
write(datasetName,'(i0,a)') i,'_omega_homogenization'
call HDF5_read(groupHandle,homogState(i)%state,datasetName)
call HDF5_read(groupHandle,homogState(i)%state0,datasetName)
enddo
call HDF5_closeGroup(groupHandle)