From: eap Date: Wed, 27 Nov 2013 11:22:18 +0000 (+0000) Subject: 22418: [CEA 1012] Mesh with intersecting cells X-Git-Tag: V7_3_0a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6bbd726cd53b16da3651e8cdd4e16d887fc898f3;p=plugins%2Fghs3dplugin.git 22418: [CEA 1012] Mesh with intersecting cells Fix finding bad elements --- diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index 58c36ac..4ae382f 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -3391,7 +3391,7 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh& theMesh, //#endif std::map aNodeId2NodeIndexMap, aSmdsToGhs3dIdMap, anEnforcedNodeIdToGhs3dIdMap; - std::map aGhs3dIdToNodeMap; + //std::map aGhs3dIdToNodeMap; std::map nodeID2nodeIndexMap; std::map, 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