]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
fixed compile error mbs/43146_bad_pyramids
authormbs <martin.bernhard@opencascade.com>
Wed, 23 Oct 2024 09:44:18 +0000 (10:44 +0100)
committermbs <martin.bernhard@opencascade.com>
Wed, 23 Oct 2024 09:44:18 +0000 (10:44 +0100)
src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx

index 975f619d45ec910fe8c56be9977c18ab6b7bc1a2..9c194355198a7508719bef50c3cbb1aa78361cad 100644 (file)
@@ -44,7 +44,7 @@ class gp_Vec;
 #include <vector>
 
 #include <TopoDS_Shape.hxx>
-//#include <NCollection_DataMap.hxx>
+#include <NCollection_DataMap.hxx>
 
 /*!
  * \brief "Transforms" quadrilateral faces into triangular ones by creation of pyramids
@@ -94,19 +94,19 @@ protected:
                      std::set<const SMDS_MeshNode*>& nodesToMove,
                      const bool                      isRecursion = false);
 
-  // bool DecreaseHeightDifference( const SMDS_MeshElement* pyram,
-  //                                const double            h2 );
+  bool DecreaseHeightDifference( const SMDS_MeshElement* pyram,
+                                 const double            h2 );
 
   TopoDS_Shape                      myShape;
   std::set<const SMDS_MeshElement*> myRemovedTrias;
   std::list< const SMDS_MeshNode* > myDegNodes;
   const SMESH_ElementSearcher*      myElemSearcher;
 
-  // NCollection_DataMap< const SMDS_MeshElement*, double > myPyramHeight2;
+  NCollection_DataMap< const SMDS_MeshElement*, double > myPyramHeight2;
 
-  // // work buffers of DecreaseHeightDifference()
-  // std::vector< const SMDS_MeshElement* > myAdjPyrams;
-  // std::vector<const SMDS_MeshNode *>     myNodes;
+  // work buffers of DecreaseHeightDifference()
+  std::vector< const SMDS_MeshElement* > myAdjPyrams;
+  std::vector<const SMDS_MeshNode *>     myNodes;
 };
 
 #endif