mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 01:10:35 +05:00
0020279: [CEA 334] control the "random" use when using mesh algorithms
Use TIDCompare from SMDS_MeshElement.hxx
This commit is contained in:
parent
60009bb9da
commit
ea772b0267
@ -66,10 +66,6 @@ class SMESHDS_EXPORT SMESHDS_SubMesh
|
|||||||
|
|
||||||
private:
|
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;
|
typedef std::set<const SMDS_MeshElement*, TIDCompare > TElemSet;
|
||||||
TElemSet myElements, myNodes;
|
TElemSet myElements, myNodes;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user