From: eap Date: Thu, 12 Jan 2017 18:18:58 +0000 (+0300) Subject: Remove useless MESSAGEs X-Git-Tag: SHAPER_2.7.0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=dbfaad0241b82abab3b68e9ea4532a9af098d10c;p=plugins%2Fnetgenplugin.git Remove useless MESSAGEs --- diff --git a/src/NETGENPlugin/NETGENPlugin_Hypothesis_2D_ONLY_i.cxx b/src/NETGENPlugin/NETGENPlugin_Hypothesis_2D_ONLY_i.cxx index 98f2dc4..341a742 100644 --- a/src/NETGENPlugin/NETGENPlugin_Hypothesis_2D_ONLY_i.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Hypothesis_2D_ONLY_i.cxx @@ -44,7 +44,6 @@ NETGENPlugin_Hypothesis_2D_ONLY_i (PortableServer::POA_ptr thePOA, SMESH_Hypothesis_i( thePOA ), NETGENPlugin_Hypothesis_2D_i( thePOA, theStudyId, theGenImpl ) { - MESSAGE( "NETGENPlugin_Hypothesis_2D_ONLY_i::NETGENPlugin_Hypothesis_2D_ONLY_i" ); myBaseImpl = new ::NETGENPlugin_Hypothesis_2D (theGenImpl->GetANewId(), theStudyId, theGenImpl); @@ -58,7 +57,6 @@ NETGENPlugin_Hypothesis_2D_ONLY_i (PortableServer::POA_ptr thePOA, NETGENPlugin_Hypothesis_2D_ONLY_i::~NETGENPlugin_Hypothesis_2D_ONLY_i() { - MESSAGE( "NETGENPlugin_Hypothesis_2D_ONLY_i::~NETGENPlugin_Hypothesis_2D_ONLY_i" ); } //================================================================================ /*! diff --git a/src/NETGENPlugin/NETGENPlugin_Hypothesis_3D_i.cxx b/src/NETGENPlugin/NETGENPlugin_Hypothesis_3D_i.cxx index f9fe240..ebab3bd 100644 --- a/src/NETGENPlugin/NETGENPlugin_Hypothesis_3D_i.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Hypothesis_3D_i.cxx @@ -46,7 +46,7 @@ NETGENPlugin_Hypothesis_3D_i (PortableServer::POA_ptr thePOA, SMESH_Hypothesis_i( thePOA ), NETGENPlugin_Hypothesis_i( thePOA, theStudyId, theGenImpl ) { - MESSAGE( "NETGENPlugin_Hypothesis_3D_i::NETGENPlugin_Hypothesis_3D_i" ); + //MESSAGE( "NETGENPlugin_Hypothesis_3D_i::NETGENPlugin_Hypothesis_3D_i" ); } //============================================================================= @@ -56,7 +56,7 @@ NETGENPlugin_Hypothesis_3D_i (PortableServer::POA_ptr thePOA, //============================================================================= NETGENPlugin_Hypothesis_3D_i::~NETGENPlugin_Hypothesis_3D_i() { - MESSAGE( "NETGENPlugin_Hypothesis_3D_i::~NETGENPlugin_Hypothesis_3D_i" ); + //MESSAGE( "NETGENPlugin_Hypothesis_3D_i::~NETGENPlugin_Hypothesis_3D_i" ); } //================================================================================ diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D.cxx index 284ea6c..d2381f1 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D.cxx @@ -57,7 +57,7 @@ NETGENPlugin_NETGEN_2D3D::NETGENPlugin_NETGEN_2D3D(int hypId, int studyId, SMESH_Gen* gen) : SMESH_3D_Algo(hypId, studyId, gen) { - MESSAGE("NETGENPlugin_NETGEN_2D3D::NETGENPlugin_NETGEN_2D3D"); + //MESSAGE("NETGENPlugin_NETGEN_2D3D::NETGENPlugin_NETGEN_2D3D"); _name = "NETGEN_2D3D"; _shapeType = (1 << TopAbs_SHELL) | (1 << TopAbs_SOLID);// 1 bit /shape type _compatibleHypothesis.push_back("NETGEN_Parameters"); @@ -76,7 +76,7 @@ NETGENPlugin_NETGEN_2D3D::NETGENPlugin_NETGEN_2D3D(int hypId, int studyId, NETGENPlugin_NETGEN_2D3D::~NETGENPlugin_NETGEN_2D3D() { - MESSAGE("NETGENPlugin_NETGEN_2D3D::~NETGENPlugin_NETGEN_2D3D"); + //MESSAGE("NETGENPlugin_NETGEN_2D3D::~NETGENPlugin_NETGEN_2D3D"); } //============================================================================= @@ -90,8 +90,6 @@ bool NETGENPlugin_NETGEN_2D3D::CheckHypothesis const TopoDS_Shape& aShape, SMESH_Hypothesis::Hypothesis_Status& aStatus) { - MESSAGE("NETGENPlugin_NETGEN_2D3D::CheckHypothesis"); - _hypothesis = NULL; _mesher = NULL; diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D_i.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D_i.cxx index b95c0f4..ded96a9 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D_i.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D3D_i.cxx @@ -50,7 +50,7 @@ NETGENPlugin_NETGEN_2D3D_i::NETGENPlugin_NETGEN_2D3D_i( PortableServer::POA_ptr SMESH_Algo_i( thePOA ), SMESH_3D_Algo_i( thePOA ) { - MESSAGE( "NETGENPlugin_NETGEN_2D3D_i::NETGENPlugin_NETGEN_2D3D_i" ); + //MESSAGE( "NETGENPlugin_NETGEN_2D3D_i::NETGENPlugin_NETGEN_2D3D_i" ); myBaseImpl = new ::NETGENPlugin_NETGEN_2D3D( theGenImpl->GetANewId(), theStudyId, theGenImpl ); @@ -66,7 +66,7 @@ NETGENPlugin_NETGEN_2D3D_i::NETGENPlugin_NETGEN_2D3D_i( PortableServer::POA_ptr NETGENPlugin_NETGEN_2D3D_i::~NETGENPlugin_NETGEN_2D3D_i() { - MESSAGE( "NETGENPlugin_NETGEN_2D3D_i::~NETGENPlugin_NETGEN_2D3D_i" ); + //MESSAGE( "NETGENPlugin_NETGEN_2D3D_i::~NETGENPlugin_NETGEN_2D3D_i" ); } //============================================================================= @@ -79,6 +79,5 @@ NETGENPlugin_NETGEN_2D3D_i::~NETGENPlugin_NETGEN_2D3D_i() ::NETGENPlugin_NETGEN_2D3D* NETGENPlugin_NETGEN_2D3D_i::GetImpl() { - MESSAGE( "NETGENPlugin_NETGEN_2D3D_i::GetImpl" ); return ( ::NETGENPlugin_NETGEN_2D3D* )myBaseImpl; } diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index b4c7919..b3eb49e 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -115,7 +115,7 @@ NETGENPlugin_NETGEN_2D_ONLY::NETGENPlugin_NETGEN_2D_ONLY(int hypId, NETGENPlugin_NETGEN_2D_ONLY::~NETGENPlugin_NETGEN_2D_ONLY() { - MESSAGE("NETGENPlugin_NETGEN_2D_ONLY::~NETGENPlugin_NETGEN_2D_ONLY"); + //MESSAGE("NETGENPlugin_NETGEN_2D_ONLY::~NETGENPlugin_NETGEN_2D_ONLY"); } //============================================================================= diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY_i.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY_i.cxx index 008a99c..f5d83d3 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY_i.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY_i.cxx @@ -43,7 +43,6 @@ NETGENPlugin_NETGEN_2D_ONLY_i::NETGENPlugin_NETGEN_2D_ONLY_i( PortableServer::PO SMESH_Algo_i( thePOA ), SMESH_2D_Algo_i( thePOA ) { - MESSAGE( "NETGENPlugin_NETGEN_2D_ONLY_i::NETGENPlugin_NETGEN_2D_ONLY_i" ); myBaseImpl = new ::NETGENPlugin_NETGEN_2D_ONLY( theGenImpl->GetANewId(), theStudyId, theGenImpl ); @@ -59,7 +58,6 @@ NETGENPlugin_NETGEN_2D_ONLY_i::NETGENPlugin_NETGEN_2D_ONLY_i( PortableServer::PO NETGENPlugin_NETGEN_2D_ONLY_i::~NETGENPlugin_NETGEN_2D_ONLY_i() { - MESSAGE( "NETGENPlugin_NETGEN_2D_ONLY_i::~NETGENPlugin_NETGEN_2D_ONLY_i" ); } //============================================================================= @@ -72,7 +70,6 @@ NETGENPlugin_NETGEN_2D_ONLY_i::~NETGENPlugin_NETGEN_2D_ONLY_i() ::NETGENPlugin_NETGEN_2D_ONLY* NETGENPlugin_NETGEN_2D_ONLY_i::GetImpl() { - MESSAGE( "NETGENPlugin_NETGEN_2D_ONLY_i::GetImpl" ); return ( ::NETGENPlugin_NETGEN_2D_ONLY* )myBaseImpl; } diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index 6b7c993..6b20474 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -531,10 +531,6 @@ bool NETGENPlugin_NETGEN_3D::compute(SMESH_Mesh& aMesh, int Netgen_NbOfNodesNew = Ng_GetNP(Netgen_mesh); int Netgen_NbOfTetra = Ng_GetNE(Netgen_mesh); - MESSAGE("End of Volume Mesh Generation. err=" << err << - ", nb new nodes: " << Netgen_NbOfNodesNew - Netgen_NbOfNodes << - ", nb tetra: " << Netgen_NbOfTetra); - // ------------------------------------------------------------------- // Feed back the SMESHDS with the generated Nodes and Volume Elements // ------------------------------------------------------------------- diff --git a/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D_i.cxx b/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D_i.cxx index f54481a..dab006a 100644 --- a/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D_i.cxx +++ b/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_2D_i.cxx @@ -50,7 +50,7 @@ NETGENPlugin_SimpleHypothesis_2D_i (PortableServer::POA_ptr thePOA, : SALOME::GenericObj_i( thePOA ), SMESH_Hypothesis_i( thePOA ) { - MESSAGE( "NETGENPlugin_SimpleHypothesis_2D_i::NETGENPlugin_SimpleHypothesis_2D_i" ); + //MESSAGE( "NETGENPlugin_SimpleHypothesis_2D_i::NETGENPlugin_SimpleHypothesis_2D_i" ); myBaseImpl = new ::NETGENPlugin_SimpleHypothesis_2D (theGenImpl->GetANewId(), theStudyId, theGenImpl); @@ -65,7 +65,7 @@ NETGENPlugin_SimpleHypothesis_2D_i (PortableServer::POA_ptr thePOA, //============================================================================= NETGENPlugin_SimpleHypothesis_2D_i::~NETGENPlugin_SimpleHypothesis_2D_i() { - MESSAGE( "NETGENPlugin_SimpleHypothesis_2D_i::~NETGENPlugin_SimpleHypothesis_2D_i" ); + //MESSAGE( "NETGENPlugin_SimpleHypothesis_2D_i::~NETGENPlugin_SimpleHypothesis_2D_i" ); } //============================================================================= @@ -76,7 +76,6 @@ NETGENPlugin_SimpleHypothesis_2D_i::~NETGENPlugin_SimpleHypothesis_2D_i() void NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments(CORBA::Short nb) throw ( SALOME::SALOME_Exception ) { - MESSAGE("NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments"); ASSERT(myBaseImpl); try { this->GetImpl()->SetNumberOfSegments(nb); @@ -94,7 +93,6 @@ void NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments(CORBA::Short nb) //============================================================================= CORBA::Short NETGENPlugin_SimpleHypothesis_2D_i::GetNumberOfSegments() { - MESSAGE("NETGENPlugin_SimpleHypothesis_2D_i::GetNumberOfSegments"); ASSERT(myBaseImpl); return this->GetImpl()->GetNumberOfSegments(); } @@ -107,7 +105,6 @@ CORBA::Short NETGENPlugin_SimpleHypothesis_2D_i::GetNumberOfSegments() void NETGENPlugin_SimpleHypothesis_2D_i::SetLocalLength(CORBA::Double segmentLength) { - MESSAGE("NETGENPlugin_SimpleHypothesis_2D_i::SetLocalLength"); ASSERT(myBaseImpl); try { this->GetImpl()->SetLocalLength(segmentLength); @@ -126,7 +123,6 @@ void NETGENPlugin_SimpleHypothesis_2D_i::SetLocalLength(CORBA::Double segmentLen CORBA::Double NETGENPlugin_SimpleHypothesis_2D_i::GetLocalLength() { - MESSAGE("NETGENPlugin_SimpleHypothesis_2D_i::GetLocalLength"); ASSERT(myBaseImpl); return this->GetImpl()->GetLocalLength(); } @@ -138,7 +134,6 @@ CORBA::Double NETGENPlugin_SimpleHypothesis_2D_i::GetLocalLength() //============================================================================= void NETGENPlugin_SimpleHypothesis_2D_i::LengthFromEdges() { - MESSAGE("NETGENPlugin_SimpleHypothesis_2D_i::LengthFromEdges"); ASSERT(myBaseImpl); this->GetImpl()->LengthFromEdges(); SMESH::TPythonDump() << _this() << ".LengthFromEdges()"; @@ -151,7 +146,6 @@ void NETGENPlugin_SimpleHypothesis_2D_i::LengthFromEdges() //============================================================================= void NETGENPlugin_SimpleHypothesis_2D_i::SetMaxElementArea(CORBA::Double area) { - MESSAGE("NETGENPlugin_SimpleHypothesis_2D_i::SetMaxElementArea"); ASSERT(myBaseImpl); this->GetImpl()->SetMaxElementArea(area); SMESH::TPythonDump() << _this() << ".SetMaxElementArea( " << SMESH::TVar(area) << " )"; @@ -166,7 +160,6 @@ void NETGENPlugin_SimpleHypothesis_2D_i::SetMaxElementArea(CORBA::Double area) CORBA::Double NETGENPlugin_SimpleHypothesis_2D_i::GetMaxElementArea() { - MESSAGE("NETGENPlugin_SimpleHypothesis_2D_i::GetMaxElementArea"); ASSERT(myBaseImpl); return this->GetImpl()->GetMaxElementArea(); } @@ -201,7 +194,6 @@ CORBA::Boolean NETGENPlugin_SimpleHypothesis_2D_i::GetAllowQuadrangles() //============================================================================= ::NETGENPlugin_SimpleHypothesis_2D* NETGENPlugin_SimpleHypothesis_2D_i::GetImpl() const { - MESSAGE("NETGENPlugin_SimpleHypothesis_2D_i::GetImpl"); return (::NETGENPlugin_SimpleHypothesis_2D*)myBaseImpl; } diff --git a/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D_i.cxx b/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D_i.cxx index 6d804a1..ec5b216 100644 --- a/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D_i.cxx +++ b/src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D_i.cxx @@ -49,7 +49,7 @@ NETGENPlugin_SimpleHypothesis_3D_i (PortableServer::POA_ptr thePOA, SMESH_Hypothesis_i( thePOA ), NETGENPlugin_SimpleHypothesis_2D_i( thePOA,theStudyId,theGenImpl ) { - MESSAGE( "NETGENPlugin_SimpleHypothesis_3D_i::NETGENPlugin_SimpleHypothesis_3D_i" ); + //MESSAGE( "NETGENPlugin_SimpleHypothesis_3D_i::NETGENPlugin_SimpleHypothesis_3D_i" ); if ( myBaseImpl ) delete myBaseImpl; myBaseImpl = new ::NETGENPlugin_SimpleHypothesis_3D (theGenImpl->GetANewId(), @@ -66,7 +66,7 @@ NETGENPlugin_SimpleHypothesis_3D_i (PortableServer::POA_ptr thePOA, //============================================================================= NETGENPlugin_SimpleHypothesis_3D_i::~NETGENPlugin_SimpleHypothesis_3D_i() { - MESSAGE( "NETGENPlugin_SimpleHypothesis_3D_i::~NETGENPlugin_SimpleHypothesis_3D_i" ); + //MESSAGE( "NETGENPlugin_SimpleHypothesis_3D_i::~NETGENPlugin_SimpleHypothesis_3D_i" ); } //============================================================================= @@ -76,7 +76,6 @@ NETGENPlugin_SimpleHypothesis_3D_i::~NETGENPlugin_SimpleHypothesis_3D_i() //============================================================================= void NETGENPlugin_SimpleHypothesis_3D_i::LengthFromFaces() { - MESSAGE("NETGENPlugin_SimpleHypothesis_3D_i::LengthFromFaces"); ASSERT(myBaseImpl); this->GetImpl()->LengthFromFaces(); SMESH::TPythonDump() << _this() << ".LengthFromFaces()"; @@ -89,7 +88,6 @@ void NETGENPlugin_SimpleHypothesis_3D_i::LengthFromFaces() //============================================================================= void NETGENPlugin_SimpleHypothesis_3D_i::SetMaxElementVolume(CORBA::Double value) { - MESSAGE("NETGENPlugin_SimpleHypothesis_3D_i::SetMaxElementVolume"); ASSERT(myBaseImpl); this->GetImpl()->SetMaxElementVolume(value); SMESH::TPythonDump() << _this() << ".SetMaxElementVolume( " << SMESH::TVar(value) << " )"; @@ -103,7 +101,6 @@ void NETGENPlugin_SimpleHypothesis_3D_i::SetMaxElementVolume(CORBA::Double value //============================================================================= CORBA::Double NETGENPlugin_SimpleHypothesis_3D_i::GetMaxElementVolume() { - MESSAGE("NETGENPlugin_SimpleHypothesis_3D_i::GetMaxElementVolume"); ASSERT(myBaseImpl); return this->GetImpl()->GetMaxElementVolume(); } @@ -114,7 +111,6 @@ CORBA::Double NETGENPlugin_SimpleHypothesis_3D_i::GetMaxElementVolume() //============================================================================= ::NETGENPlugin_SimpleHypothesis_3D* NETGENPlugin_SimpleHypothesis_3D_i::GetImpl() { - MESSAGE("NETGENPlugin_SimpleHypothesis_3D_i::GetImpl"); return (::NETGENPlugin_SimpleHypothesis_3D*)myBaseImpl; }