]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
22418: [CEA 1012] Mesh with intersecting cells V7_3_0a1
authoreap <eap@opencascade.com>
Wed, 27 Nov 2013 11:22:18 +0000 (11:22 +0000)
committereap <eap@opencascade.com>
Wed, 27 Nov 2013 11:22:18 +0000 (11:22 +0000)
Fix finding bad elements

src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

index 58c36ac65b0005392211f8b9074979f1f11dec46..4ae382f3d5b5906b6cad248e2d5be073acbc749d 100644 (file)
@@ -3391,7 +3391,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
 //#endif
   
   std::map <int,int> aNodeId2NodeIndexMap, aSmdsToGhs3dIdMap, anEnforcedNodeIdToGhs3dIdMap;
-  std::map <int,const SMDS_MeshNode*> aGhs3dIdToNodeMap;
+  //std::map <int,const SMDS_MeshNode*> aGhs3dIdToNodeMap;
   std::map <int, int> nodeID2nodeIndexMap;
   std::map<std::vector<double>, std::string> enfVerticesWithGroup;
   GHS3DPlugin_Hypothesis::TGHS3DEnforcedVertexCoordsValues coordsSizeMap = GHS3DPlugin_Hypothesis::GetEnforcedVerticesCoordsSize(_hyp);
@@ -3628,7 +3628,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
   else if ( OSD_File( aLogFileName ).Size() > 0 )
   {
     // get problem description from the log file
-    _Ghs2smdsConvertor conv( aGhs3dIdToNodeMap );
+    _Ghs2smdsConvertor conv( aNodeByGhs3dId );
     storeErrorDescription( aLogFileName, conv );
   }
   else