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:
60009bb
)
0020279: [CEA 334] control the "random" use when using mesh algorithms
author
eap
<eap@opencascade.com>
Tue, 19 May 2009 15:28:40 +0000
(15:28 +0000)
committer
eap
<eap@opencascade.com>
Tue, 19 May 2009 15:28:40 +0000
(15:28 +0000)
Use TIDCompare from SMDS_MeshElement.hxx
src/SMESHDS/SMESHDS_SubMesh.hxx
patch
|
blob
|
history
diff --git
a/src/SMESHDS/SMESHDS_SubMesh.hxx
b/src/SMESHDS/SMESHDS_SubMesh.hxx
index 839f7eabeb246dd20050a1e3ccc975d4497d1236..0b18640f68e92493060e33c184182fe019c14bee 100644
(file)
--- a/
src/SMESHDS/SMESHDS_SubMesh.hxx
+++ b/
src/SMESHDS/SMESHDS_SubMesh.hxx
@@
-66,10
+66,6
@@
class SMESHDS_EXPORT SMESHDS_SubMesh
private:
- struct TIDCompare { // to have nodes and elements sorted by ID
- bool operator () (const SMDS_MeshElement* e1, const SMDS_MeshElement* e2) const
- { return e1->GetID() < e2->GetID(); }
- };
typedef std::set<const SMDS_MeshElement*, TIDCompare > TElemSet;
TElemSet myElements, myNodes;