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:
eed04f6
)
PAL13460 (PAL EDF 301 force the mesh to go through a point)
author
eap
<eap@opencascade.com>
Wed, 28 Feb 2007 15:02:53 +0000
(15:02 +0000)
committer
eap
<eap@opencascade.com>
Wed, 28 Feb 2007 15:02:53 +0000
(15:02 +0000)
in IsMedium(node), return true if node is medium in at least one element
src/SMESH/SMESH_MeshEditor.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_MeshEditor.cxx
b/src/SMESH/SMESH_MeshEditor.cxx
index eec6ff15c631517ea4b7903656d13f330bd66349..eccd73600dc0c08d225fe911eef8f81f7e14aa26 100644
(file)
--- a/
src/SMESH/SMESH_MeshEditor.cxx
+++ b/
src/SMESH/SMESH_MeshEditor.cxx
@@
-363,7
+363,7
@@
bool SMESH_MeshEditor::IsMedium(const SMDS_MeshNode* node,
{
bool isMedium = false;
SMDS_ElemIteratorPtr it = node->GetInverseElementIterator(typeToCheck);
- while (it->more()) {
+ while (it->more()
&& !isMedium
) {
const SMDS_MeshElement* elem = it->next();
isMedium = elem->IsMediumNode(node);
}