X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_QuadToTriaAdaptor.hxx;h=19a6527a40eddb880c0abded1cc14dd44324ccab;hp=943d7745cfe8d7ef4216f78ea596d4b5d7e3dc16;hb=HEAD;hpb=6d32f944a0a115b6419184c50b57bf7c4eef5786 diff --git a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx index 943d7745c..9c1943551 100644 --- a/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx +++ b/src/StdMeshers/StdMeshers_QuadToTriaAdaptor.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -44,6 +44,7 @@ class gp_Vec; #include #include +#include /*! * \brief "Transforms" quadrilateral faces into triangular ones by creation of pyramids @@ -93,11 +94,19 @@ protected: std::set& nodesToMove, const bool isRecursion = false); + bool DecreaseHeightDifference( const SMDS_MeshElement* pyram, + const double h2 ); TopoDS_Shape myShape; std::set myRemovedTrias; std::list< const SMDS_MeshNode* > myDegNodes; const SMESH_ElementSearcher* myElemSearcher; + + NCollection_DataMap< const SMDS_MeshElement*, double > myPyramHeight2; + + // work buffers of DecreaseHeightDifference() + std::vector< const SMDS_MeshElement* > myAdjPyrams; + std::vector myNodes; }; #endif