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
SMESHDS_Mesh structures
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_SubMesh.hxx
diff --git
a/src/SMESHDS/SMESHDS_SubMesh.hxx
b/src/SMESHDS/SMESHDS_SubMesh.hxx
index df5c3261902614d390f8750cf07786a3c5204116..90ed79e203e8ece8ed5503f052b9df87480d33ea 100644
(file)
--- a/
src/SMESHDS/SMESHDS_SubMesh.hxx
+++ b/
src/SMESHDS/SMESHDS_SubMesh.hxx
@@
-30,6
+30,7
@@
#include "SMDS_Mesh.hxx"
#include <set>
#include "SMDS_Mesh.hxx"
#include <set>
+#include <vector>
class SMESHDS_SubMesh;
typedef SMDS_Iterator<const SMESHDS_SubMesh*> SMESHDS_SubMeshIterator;
class SMESHDS_SubMesh;
typedef SMDS_Iterator<const SMESHDS_SubMesh*> SMESHDS_SubMeshIterator;
@@
-38,6
+39,7
@@
typedef boost::shared_ptr< SMESHDS_SubMeshIterator > SMESHDS_SubMeshIteratorPtr;
class SMESHDS_EXPORT SMESHDS_SubMesh
{
public:
class SMESHDS_EXPORT SMESHDS_SubMesh
{
public:
+ SMESHDS_SubMesh();
bool IsComplexSubmesh() const { return !mySubMeshes.empty(); }
bool IsComplexSubmesh() const { return !mySubMeshes.empty(); }
@@
-67,8
+69,13
@@
class SMESHDS_EXPORT SMESHDS_SubMesh
private:
private:
- typedef std::set<const SMDS_MeshElement*, TIDCompare > TElemSet;
- TElemSet myElements, myNodes;
+ typedef std::vector<const SMDS_MeshElement*> TElemSet;
+
+ TElemSet myElements;
+ TElemSet myNodes;
+
+ int myUnusedIdNodes;
+ int myUnusedIdElements;
std::set<const SMESHDS_SubMesh*> mySubMeshes;
};
std::set<const SMESHDS_SubMesh*> mySubMeshes;
};