// try to load the rest nodes
// get all faces from theFace
- set<const SMDS_MeshElement*> allFaces, foundFaces;
+ map<int,const SMDS_MeshElement*> 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,
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 ];