Regression of XSMESH_TEST/SMESHCOMMON/SMESH_TEST/Grids/smesh/3D_mesh_Extrusion/A6

TTElemOfElemListMap and TElemOfVecOfNnlmiMap must use same comparator
for correct work of makeWalls()
This commit is contained in:
eap 2013-09-03 11:38:19 +00:00
parent 82a6b20865
commit 8a85c65b1e

View File

@ -193,12 +193,13 @@ public:
// If the2D, smoothing is performed using UV parameters of nodes
// on geometrical faces
typedef TIDTypeCompare TElemSort;
typedef std::map < const SMDS_MeshElement*,
std::list<const SMDS_MeshElement*>, TIDTypeCompare > TTElemOfElemListMap;
std::list<const SMDS_MeshElement*>, TElemSort > TTElemOfElemListMap;
typedef std::map<const SMDS_MeshNode*, std::list<const SMDS_MeshNode*> > TNodeOfNodeListMap;
typedef TNodeOfNodeListMap::iterator TNodeOfNodeListMapItr;
typedef std::vector<TNodeOfNodeListMapItr> TVecOfNnlmiMap;
typedef std::map<const SMDS_MeshElement*, TVecOfNnlmiMap, TIDCompare > TElemOfVecOfNnlmiMap;
typedef std::map<const SMDS_MeshElement*, TVecOfNnlmiMap, TElemSort > TElemOfVecOfNnlmiMap;
typedef std::auto_ptr< std::list<int> > PGroupIDs;
PGroupIDs RotationSweep (TIDSortedElemSet & theElements,