mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 10:00:33 +05:00
0021540: [CEA] Internal test fails : prisms
Fix FindMatchingNodesOnFaces() for spheres ( DeuxSpheres.py )
This commit is contained in:
parent
35a739dc93
commit
180b82cf53
@ -1829,7 +1829,7 @@ FindMatchingNodesOnFaces( const TopoDS_Face& face1,
|
||||
notInSet.insert( f2 );
|
||||
for ( int i = 0; i < nbNodes; ++i ) {
|
||||
const SMDS_MeshNode* n1 = faceToKeep->GetNode( i );
|
||||
const SMDS_MeshNode* n2 = faceToKeep->GetNode( i+1 % nbNodes );
|
||||
const SMDS_MeshNode* n2 = faceToKeep->GetNode(( i+1 ) % nbNodes );
|
||||
f1 = SMESH_MeshEditor::FindFaceInSet( n1, n2, inSet, notInSet );
|
||||
if ( f1 )
|
||||
elems.insert( f1 );
|
||||
|
Loading…
Reference in New Issue
Block a user