From: asozinov Date: Mon, 7 Nov 2022 13:07:30 +0000 (+0300) Subject: clean something part X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1fea6c8d41d22899b6fdeefd3474d1c34f1127e8;p=plugins%2Fnetgenplugin.git clean something part --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 99e06d0..0c1de8c 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -4512,19 +4512,11 @@ int NETGENPlugin_NetgenLibWrapper::GenerateMesh( netgen::OCCGeometry& occgeo, ngMesh->SetGeometry( shared_ptr( &occgeo, &NOOP_Deleter )); - ofstream MyFile("D:/plug.txt"); - MyFile << "Before"; occgeo.BuildFMap(); - MyFile << "\nAfter"; - netgen::mparam.perfstepsstart = startWith; netgen::mparam.perfstepsend = endWith; std::shared_ptr meshPtr( ngMesh, &NOOP_Deleter ); - MyFile << "\nGenMeshStart"; - err = occgeo.GenerateMesh( meshPtr, netgen::mparam ); - MyFile << "\nGenMeshEnd"; - MyFile << err; #else #ifdef NETGEN_V5 diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index f1a42f6..a45fcbf 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -228,9 +228,6 @@ bool NETGENPlugin_NETGEN_2D_ONLY::CheckHypothesis (SMESH_Mesh& aMesh, bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape) { - ofstream File("D:/2D_ONLY.txt"); - File << "Compute Start\t"; - netgen::multithread.terminate = 0; //netgen::multithread.task = "Surface meshing"; @@ -245,7 +242,6 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, netgen::Mesh * ngMeshes[2] = { (netgen::Mesh*) ngLib._ngMesh, & ngMeshNoLocSize }; netgen::OCCGeometry occgeoComm; - File << "1"; // min / max sizes are set as follows: // if ( _hypParameters ) // min and max are defined by the user @@ -343,7 +339,6 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, // Loop on all FACEs // ================== - File << "2"; vector< const SMDS_MeshNode* > nodeVec; TopExp_Explorer fExp( aShape, TopAbs_FACE ); @@ -606,7 +601,6 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, } // two attempts } // loop on FACEs - File << "\tCompute End\n"; return true; }