- 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;
- typedef std::set<const SMDS_MeshNode* , TIDCompare> TNodeSet;
- TElemSet myElements;
- TNodeSet myNodes;
+ SMESHDS_Mesh * myParent;
+ std::vector<const SMDS_MeshElement*> myElements;
+ std::vector<const SMDS_MeshNode*> myNodes;
+
+ int myUnusedIdNodes;
+ int myUnusedIdElements;
+ int myIndex;
+