From: eap Date: Thu, 4 May 2006 14:25:46 +0000 (+0000) Subject: Modif forced by changes in SMESH_MeshEditor::FindFaceInSet() X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b0e5255f0ef15564b5161ec55119c8164f86f3d0;p=modules%2Fsmesh.git Modif forced by changes in SMESH_MeshEditor::FindFaceInSet() --- diff --git a/src/StdMeshers/StdMeshers_Penta_3D.cxx b/src/StdMeshers/StdMeshers_Penta_3D.cxx index 9abce6748..a16f08b99 100644 --- a/src/StdMeshers/StdMeshers_Penta_3D.cxx +++ b/src/StdMeshers/StdMeshers_Penta_3D.cxx @@ -1425,12 +1425,12 @@ bool StdMeshers_Penta_3D::LoadIJNodes(StdMeshers_IJNodeMap & theIJNodes, // try to load the rest nodes // get all faces from theFace - set allFaces, foundFaces; + map allFaces, foundFaces; SMDS_ElemIteratorPtr eIt = smFace->GetElements(); while ( eIt->more() ) { const SMDS_MeshElement* e = eIt->next(); if ( e->GetType() == SMDSAbs_Face ) - allFaces.insert( e ); + allFaces.insert( make_pair(e->GetID(),e) ); } // Starting from 2 neighbour nodes on theBaseEdge, look for a face // the nodes belong to, and between the nodes of the found face, @@ -1477,7 +1477,7 @@ bool StdMeshers_Penta_3D::LoadIJNodes(StdMeshers_IJNodeMap & theIJNodes, return false; } par_nVec_2->second[ row ] = node; - foundFaces.insert( face ); + foundFaces.insert( make_pair(face->GetID(),face) ); n2 = node; if ( nbFaceNodes==4 || (myCreateQuadratic && nbFaceNodes==8) ) { n1 = par_nVec_1->second[ row ];