mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-30 22:20:34 +05:00
Modif forced by changes in SMESH_MeshEditor::FindFaceInSet()
This commit is contained in:
parent
f0faf58a38
commit
b0e5255f0e
@ -1425,12 +1425,12 @@ bool StdMeshers_Penta_3D::LoadIJNodes(StdMeshers_IJNodeMap & theIJNodes,
|
|||||||
// try to load the rest nodes
|
// try to load the rest nodes
|
||||||
|
|
||||||
// get all faces from theFace
|
// get all faces from theFace
|
||||||
set<const SMDS_MeshElement*> allFaces, foundFaces;
|
map<int,const SMDS_MeshElement*> allFaces, foundFaces;
|
||||||
SMDS_ElemIteratorPtr eIt = smFace->GetElements();
|
SMDS_ElemIteratorPtr eIt = smFace->GetElements();
|
||||||
while ( eIt->more() ) {
|
while ( eIt->more() ) {
|
||||||
const SMDS_MeshElement* e = eIt->next();
|
const SMDS_MeshElement* e = eIt->next();
|
||||||
if ( e->GetType() == SMDSAbs_Face )
|
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
|
// Starting from 2 neighbour nodes on theBaseEdge, look for a face
|
||||||
// the nodes belong to, and between the nodes of the found 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;
|
return false;
|
||||||
}
|
}
|
||||||
par_nVec_2->second[ row ] = node;
|
par_nVec_2->second[ row ] = node;
|
||||||
foundFaces.insert( face );
|
foundFaces.insert( make_pair(face->GetID(),face) );
|
||||||
n2 = node;
|
n2 = node;
|
||||||
if ( nbFaceNodes==4 || (myCreateQuadratic && nbFaceNodes==8) ) {
|
if ( nbFaceNodes==4 || (myCreateQuadratic && nbFaceNodes==8) ) {
|
||||||
n1 = par_nVec_1->second[ row ];
|
n1 = par_nVec_1->second[ row ];
|
||||||
|
Loading…
Reference in New Issue
Block a user