<?xml version="1.0" encoding="ISO-8859-1"?> <root text=""crystallite_stressAndItsTangent (stiffness calculation)"" comment="" color="ffffff" type="sub" style="nice"> <children> <alternative text=""crystallite_converged"" comment="" color="ffffff"> <qTrue> <instruction text=""myState = constitutive_state","myF = crystallite_subF","myFp = crystallite_Fp","myFe = crystallite_Fe","myLp = crystallite_Lp","myP = crystallite_P"" comment="" color="ffffff" rotated="0"></instruction> <for text=""k = 1 , 3"" comment="" color="ffffff"> <qFor> <while text=""l = 1 , 3"" comment="" color="ffffff"> <qWhile> <instruction text=""crystallite_subF(:,:) = myF","crystallite_subF(k,l) = crystallite_subF(k,l) + pert_Fg"" comment="" color="ffffff" rotated="0"></instruction> <instruction text=""onTrack = .true.","converged = .false.","NiterationState = 0"" comment="" color="ffffff" rotated="0"></instruction> <for text=""STIFFNESS LOOP: .not. converged .and. onTrack .and. NiterationState < nState"" comment="" color="ffffff"> <qFor> <instruction text=""NiterationState = NiterationState + 1"" comment="" color="ffffff" rotated="0"></instruction> <call text=""onTrack = crystallite_integrateStress"" comment="" color="ffffff"></call> <alternative text=""onTrack"" comment="""" color="ffffff"> <qTrue> <call text=""converged = crystallite_updateState"" comment="" color="ffffff"></call> </qTrue> <qFalse> </qFalse> </alternative> </qFor> </for> <alternative text=""converged"" comment="" color="ffffff"> <qTrue> <instruction text=""crystallite_dPdF = ( crystallite_P - myP ) / pert_Fg"" comment="" color="ffffff" rotated="0"></instruction> </qTrue> <qFalse> </qFalse> </alternative> <instruction text=""constitutive_state = myState","crystallite_Fp = myFp","crystallite_Fe = myFe","crystallite_Lp = myLp","crystallite_P = myP"" comment="" color="ffffff" rotated="0"></instruction> </qWhile> </while> </qFor> </for> </qTrue> <qFalse> <instruction text=""crystallite_dPdF = crystallite_fallbackdPdF"" comment="" color="ffffff" rotated="0"></instruction> </qFalse> </alternative> </children> </root>