From 12d053d123555d3fed910fe5930f64b20f581c98 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 4 Oct 2018 14:54:00 +0200 Subject: [PATCH] strange parameter caused simulation not to start if not defined probably a leftover. now only bothers you if twin systems are defined --- src/plastic_dislotwin.f90 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plastic_dislotwin.f90 b/src/plastic_dislotwin.f90 index f6c8604ae..b23c9fa00 100644 --- a/src/plastic_dislotwin.f90 +++ b/src/plastic_dislotwin.f90 @@ -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')