From a940996b8315634697c053cea571a8dd8b8cbd40 Mon Sep 17 00:00:00 2001
From: Louis Denis <louis.denis@student.uliege.be>
Date: Fri, 20 May 2022 21:30:48 +0200
Subject: [PATCH] adjusting the tolerance

---
 srcs/FEM/solverFEM.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcs/FEM/solverFEM.cpp b/srcs/FEM/solverFEM.cpp
index 97bcda3..7000141 100644
--- a/srcs/FEM/solverFEM.cpp
+++ b/srcs/FEM/solverFEM.cpp
@@ -190,7 +190,7 @@ void solverFEMnonLinear(std::map<int, double> &electrostaticPressure,
         previousTotalNodalForces[i] = 0;
         currentTotalNodalForces[i] = 0;
     }
-    double residualTolerance = 1e-12; // empirical
+    double residualTolerance = 1e-10; // empirical
 
     double start5 = omp_get_wtime();
     step_name = "further initialization of global variables for the iterative algorithm";
-- 
GitLab