From 6dcc6b5896f664c61a65ccb0f42111aeedeecc12 Mon Sep 17 00:00:00 2001
From: jleclerc <julien.leclerc@ulg.ac.be>
Date: Mon, 11 Mar 2019 13:50:04 +0100
Subject: [PATCH] add angle computation at crack insertion

---
 NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp b/NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
index 92a85cbe9..de2feaa64 100644
--- a/NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
+++ b/NonLinearSolver/materialLaw/mlawNonLocalPorousCoupled.cpp
@@ -486,6 +486,7 @@ void mlawNonLocalPorousCoupledLaw::checkCoalescence(IPNonLocalPorosity* q1, cons
             // Method 0: Offset is not used: always equal to 1.
             q1Thom->getRefToCrackOffsetOnCft() = 1.;
           }
+          Msg::Info("Criterion satified with a traction force angle =%e rad", atan(sqrt(tauTanSq)/tauN));
 
 
         }
-- 
GitLab