Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35a739d
)
0021540: [CEA] Internal test fails : prisms
author
eap
<eap@opencascade.com>
Wed, 11 Apr 2012 14:34:04 +0000
(14:34 +0000)
committer
eap
<eap@opencascade.com>
Wed, 11 Apr 2012 14:34:04 +0000
(14:34 +0000)
Fix FindMatchingNodesOnFaces() for spheres ( DeuxSpheres.py )
src/StdMeshers/StdMeshers_ProjectionUtils.cxx
patch
|
blob
|
history
diff --git
a/src/StdMeshers/StdMeshers_ProjectionUtils.cxx
b/src/StdMeshers/StdMeshers_ProjectionUtils.cxx
index bc497c74bd4268cdf820f921b0cc609e0bc9972f..37e97eabe8f1ec72ec2f1418071ecf714b3b8fa4 100644
(file)
--- a/
src/StdMeshers/StdMeshers_ProjectionUtils.cxx
+++ b/
src/StdMeshers/StdMeshers_ProjectionUtils.cxx
@@
-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 );