From 02d242262a20c783c03e5fe2d4f096fd640c2d98 Mon Sep 17 00:00:00 2001
From: Boris Martin <boris.martin@uliege.be>
Date: Thu, 6 Jul 2023 12:07:05 +0200
Subject: [PATCH] explicit boundary message

---
 common/wave/equation/equation.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/wave/equation/equation.cpp b/common/wave/equation/equation.cpp
index 1ffc5c8..f212a23 100644
--- a/common/wave/equation/equation.cpp
+++ b/common/wave/equation/equation.cpp
@@ -37,13 +37,13 @@ EquationInterface<T_Physic>::EquationInterface(const ConfigurationInterface* con
     {
       throw Exception("Equation integration degree (boundary) could not be found.");
     }
-    double buffer=0.;
+    int buffer=0;
     if(!gmshFem.userDefinedParameter(buffer, "equation_boundary"))
     {
         msg::warning << "Boundary are not considered in equations (default behaviour)." << msg::endl;
     }
-    if(buffer==0.){_boundary=false;}
-    else{_boundary=true;}
+    if(buffer==0){_boundary=false; msg::warning << "Boundary are not enabled in equations." << msg::endl;}
+    else{_boundary=true; msg::warning << "Boundary are enabled in equations." << msg::endl;}
 };
 
 template<Physic T_Physic>
-- 
GitLab