From d8e112c04262083697bcbf12a33edd973e3c2a9d Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 16 Jul 2020 23:38:37 +0200 Subject: [PATCH] phaseAt needs constituent/element tuple constituent is always 1 for nonlocal --- src/crystallite.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crystallite.f90 b/src/crystallite.f90 index fbce3ab47..f33f392a2 100644 --- a/src/crystallite.f90 +++ b/src/crystallite.f90 @@ -641,7 +641,7 @@ subroutine crystallite_orientations if (plasticState(material_phaseAt(1,e))%nonlocal) then do i = FEsolving_execIP(1),FEsolving_execIP(2) call plastic_nonlocal_updateCompatibility(crystallite_orientation, & - phase_plasticityInstance(material_phaseAt(i,e)),i,e) + phase_plasticityInstance(material_phaseAt(1,e)),i,e) enddo endif enddo