Use TIDSortedNodeSet instead of set< const SMDS_MeshNode*> when looking for coincident nodes

This commit is contained in:
eap 2010-09-15 11:52:34 +00:00
parent e38b448770
commit cd7aa1f910

View File

@ -2157,7 +2157,7 @@ SMESH_Gen_i::ConcatenateCommon(const SMESH::mesh_array& theMeshesArray,
if (theMergeNodesAndElements) {
// merge nodes
set<const SMDS_MeshNode*> aMeshNodes; // no input nodes
TIDSortedNodeSet aMeshNodes; // no input nodes
SMESH_MeshEditor::TListOfListOfNodes aGroupsOfNodes;
aNewEditor.FindCoincidentNodes( aMeshNodes, theMergeTolerance, aGroupsOfNodes );
aNewEditor.MergeNodes( aGroupsOfNodes );