Skip to content
Snippets Groups Projects
Commit 02d24226 authored by Boris Martin's avatar Boris Martin
Browse files

explicit boundary message

parent d60aa1e9
No related branches found
No related tags found
No related merge requests found
...@@ -37,13 +37,13 @@ EquationInterface<T_Physic>::EquationInterface(const ConfigurationInterface* con ...@@ -37,13 +37,13 @@ EquationInterface<T_Physic>::EquationInterface(const ConfigurationInterface* con
{ {
throw Exception("Equation integration degree (boundary) could not be found."); throw Exception("Equation integration degree (boundary) could not be found.");
} }
double buffer=0.; int buffer=0;
if(!gmshFem.userDefinedParameter(buffer, "equation_boundary")) if(!gmshFem.userDefinedParameter(buffer, "equation_boundary"))
{ {
msg::warning << "Boundary are not considered in equations (default behaviour)." << msg::endl; msg::warning << "Boundary are not considered in equations (default behaviour)." << msg::endl;
} }
if(buffer==0.){_boundary=false;} if(buffer==0){_boundary=false; msg::warning << "Boundary are not enabled in equations." << msg::endl;}
else{_boundary=true;} else{_boundary=true; msg::warning << "Boundary are enabled in equations." << msg::endl;}
}; };
template<Physic T_Physic> template<Physic T_Physic>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment