From 721af0a9a9ad75c8789ad6fe1f5ce256d7a93704 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 1 Feb 2019 07:06:19 +0100 Subject: [PATCH] plastic_nonlocal still has confusing state handling --- src/plastic_nonlocal.f90 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plastic_nonlocal.f90 b/src/plastic_nonlocal.f90 index 417800629..cba989cb5 100644 --- a/src/plastic_nonlocal.f90 +++ b/src/plastic_nonlocal.f90 @@ -933,7 +933,8 @@ allocate(nonSchmidProjection(3,3,4,maxTotalNslip,maxNinstances), plasticState(phase)%nonlocal = .true. call material_allocatePlasticState(phase,NofMyPhase,sizeState,sizeDotState,sizeDeltaState, & totalNslip(instance),0_pInt,0_pInt) - + + plasticState(phase)%offsetDeltaState = 0_pInt plasticState(phase)%slipRate => & plasticState(phase)%dotState(iGamma(1,instance):iGamma(ns,instance),1:NofMyPhase)