Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Speed up "Clear mesh data"
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_SubMesh.hxx
diff --git
a/src/SMESHDS/SMESHDS_SubMesh.hxx
b/src/SMESHDS/SMESHDS_SubMesh.hxx
index bc0ccce2a92ddce1f28bbfe2a991e6dd1d9a69dc..e42893368df246217ae2be7c22b3373a736ae6de 100644
(file)
--- a/
src/SMESHDS/SMESHDS_SubMesh.hxx
+++ b/
src/SMESHDS/SMESHDS_SubMesh.hxx
@@
-62,6
+62,9
@@
class SMESHDS_EXPORT SMESHDS_SubMesh
SMDS_NodeIteratorPtr GetNodes() const;
bool Contains(const SMDS_MeshElement * ME) const; // check if elem or node is in
+ // clear the contents
+ void Clear();
+
private:
//const SMDS_Mesh * myMesh;
std::set<const SMDS_MeshElement*> myElements;