Salome HOME
Always print MG-Tetra start, cmd and end messages in terminal
[plugins/ghs3dplugin.git] / src / GHS3DPlugin / GHS3DPlugin_GHS3D.cxx
index b7245f0743fb5808eb543579aa491b07b0ac4235..618c4d7472d873358a22b22d7aa0a507d780b6df 100644 (file)
@@ -1786,9 +1786,9 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
     cmd += TCollection_AsciiString(" 1>" ) + aLogFileName;  // dump into file
   }
 
-  INFOS("")
-  INFOS("MG-Tetra execution...")
-  INFOS(cmd)
+  std::cout << std::endl;
+  std::cout << "MG-Tetra execution..." << std::endl;
+  std::cout << cmd << std::endl;
 
   _computeCanceled = false;
 
@@ -1796,14 +1796,14 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
   Ok = mgTetra.Compute( cmd.ToCString(), errStr ); // run
 
   if ( _logInStandardOutput && mgTetra.IsLibrary() ) {
-    INFOS("");
-    INFOS(mgTetra.GetLog());
-    INFOS("")
+    std::cout << std::endl;
+    std::cout << mgTetra.GetLog() << std::endl;
+    std::cout << std::endl;
   }
   if ( Ok ) {
-    INFOS("");
-    INFOS("End of MG-Tetra execution !");
-    INFOS("")
+    std::cout << std::endl;
+    std::cout << "End of MG-Tetra execution !" << std::endl;
+    std::cout << std::endl;
   }
 
   // change results files permissions to user only
@@ -2025,9 +2025,9 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
     cmd += TCollection_AsciiString(" 1>" ) + aLogFileName;  // dump into file
   }
 
-  INFOS("")
-  INFOS("MG-Tetra execution...")
-  INFOS(cmd)
+  std::cout << std::endl;
+  std::cout << "MG-Tetra execution..." << std::endl;
+  std::cout << cmd << std::endl;
 
   _computeCanceled = false;
 
@@ -2035,14 +2035,14 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
   Ok = mgTetra.Compute( cmd.ToCString(), errStr ); // run
 
   if ( _logInStandardOutput && mgTetra.IsLibrary() ) {
-    INFOS("");
-    INFOS(mgTetra.GetLog());
-    INFOS("")
+    std::cout << std::endl;
+    std::cout << mgTetra.GetLog() << std::endl;
+    std::cout << std::endl;
   }
   if ( Ok ) {
-    INFOS("");
-    INFOS("End of MG-Tetra execution !");
-    INFOS("")
+    std::cout << std::endl;
+    std::cout << "End of MG-Tetra execution !" << std::endl;
+    std::cout << std::endl;
   }
 
   // --------------