From 2ec870cc10b839f509bc4c113de3f10673491003 Mon Sep 17 00:00:00 2001
From: cyrielle <l.noels@ulg.ac.be>
Date: Fri, 23 May 2025 13:14:10 +0200
Subject: [PATCH] display the value of increment when too big during iterations
 of NR

---
 dG3D/src/nonLocalDamageDG3DMaterialLaw.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dG3D/src/nonLocalDamageDG3DMaterialLaw.cpp b/dG3D/src/nonLocalDamageDG3DMaterialLaw.cpp
index 4e11be29b..c3d19891b 100644
--- a/dG3D/src/nonLocalDamageDG3DMaterialLaw.cpp
+++ b/dG3D/src/nonLocalDamageDG3DMaterialLaw.cpp
@@ -3025,13 +3025,13 @@ void NonlocalDamageTorchANNBasedDG3DMaterialLaw::stress(IPVariable* ipv, const I
   dEyy=E1(0,1)-E0(0,1);
   dExy=E1(0,3)-E0(0,3); 
   if (abs(dExx)>incr_limit){
-    std::cout << "Warning: beyond the limit increment for epsilon_XX" << "\n";
+    std::cout << "Warning: beyond the limit increment for epsilon_XX: " << dExx << "\n";
   }
   if (abs(dEyy)>incr_limit){
-    std::cout << "Warning: beyond the limit increment for epsilon_YY" << "\n";
+    std::cout << "Warning: beyond the limit increment for epsilon_YY: " << dEyy << "\n";
   }
   if (abs(dExy)>incr_limit){
-    std::cout << "Warning: beyond the limit increment for epsilon_XY" << "\n";
+    std::cout << "Warning: beyond the limit increment for epsilon_XY: " << dExy << "\n";
   }
   //end step -1
   
-- 
GitLab