strange parameter caused simulation not to start if not defined

probably a leftover. now only bothers you if twin systems are defined
This commit is contained in:
Martin Diehl 2018-10-04 14:54:00 +02:00
parent f1750b4eef
commit 12d053d123
1 changed files with 2 additions and 1 deletions

View File

@ -382,6 +382,7 @@ subroutine plastic_dislotwin_init(fileUnit)
prm%r = math_expand(prm%r,prm%Ntwin)
prm%L0_twin = config_phase(p)%getFloat('l0_twin')
prm%MaxTwinFraction = config_phase(p)%getFloat('maxtwinfraction') ! ToDo: only used in postResults
else
allocate(prm%twinsize(0))
allocate(prm%burgers_twin(0))
@ -442,7 +443,7 @@ subroutine plastic_dislotwin_init(fileUnit)
prm%CAtomicVolume = config_phase(p)%getFloat('catomicvolume')
prm%GrainSize = config_phase(p)%getFloat('grainsize')
prm%MaxTwinFraction = config_phase(p)%getFloat('maxtwinfraction') ! ToDo: only used in postResults
prm%D0 = config_phase(p)%getFloat('d0')
prm%Qsd = config_phase(p)%getFloat('qsd')