From b0ab5533748b48cd69e4e6ac43906b95ea06039f Mon Sep 17 00:00:00 2001 From: "franck.ledoux" Date: Mon, 29 Jul 2024 18:16:23 +0200 Subject: [PATCH] 398 restructure the smoothy module for calling smoothing algorithms (#399) --- blockMesher/src/main_blockmesher.cpp | 27 +- docs/doxygen/annotated.html | 2 +- docs/doxygen/classes.html | 2 +- ...gmds_1_1smoothy_1_1_abstract_smoother.html | 2 +- ...moothy_1_1_laplacian_smoother-members.html | 14 +- ...mds_1_1smoothy_1_1_laplacian_smoother.html | 16 +- docs/doxygen/hierarchy.html | 2 +- docs/mkdocs/user-guide/smoothy.md | 21 + dualBlocking/src/DualBlockingSession.cpp | 9 +- graph/src/main.cpp | 2 +- medusa/inc/medusa/model/MedusaBackEnd.h | 8 +- .../inc/gmds/rlBlocking/LinkerBlockingGeom.h | 7 +- .../inc/gmds/rlBlocking/ValidBlocking.h | 7 +- rlBlocking/src/main_rlBlocking.cpp | 7 +- sheet/tst/SheetPillowTestSuite.h | 21 +- smoothy/CMakeLists.txt | 8 +- smoothy/inc/gmds/smoothy/AbstractSmoother.h | 90 ++- .../inc/gmds/smoothy/AngleBasedQuadSmoother.h | 60 +- .../inc/gmds/smoothy/LaplacianSmoother2UC.h | 48 ++ ...lacianSmoother.h => LaplacianSmoother3C.h} | 39 +- .../smoothy/SmoothingClassificationService.h | 57 ++ smoothy/inc/gmds/smoothy/mat.h | 0 smoothy/inc/gmds/smoothy/vec.h | 0 smoothy/src/AbstractSmoother.cpp | 114 +-- smoothy/src/AngleBasedQuadSmoother.cpp | 15 +- smoothy/src/LaplacianSmoother2UC.cpp | 53 ++ ...anSmoother.cpp => LaplacianSmoother3C.cpp} | 39 +- .../src/SmoothingClassificationService.cpp | 111 +++ smoothy/src/morph2d.cpp | 12 +- smoothy/src/smoothy.cpp | 21 +- smoothy/tst/AngleBasedQuadSmootherTestSuite.h | 7 +- smoothy/tst/LaplacianSmootherTestSuite.h | 693 +++++++++--------- 32 files changed, 908 insertions(+), 606 deletions(-) create mode 100644 smoothy/inc/gmds/smoothy/LaplacianSmoother2UC.h rename smoothy/inc/gmds/smoothy/{LaplacianSmoother.h => LaplacianSmoother3C.h} (70%) create mode 100644 smoothy/inc/gmds/smoothy/SmoothingClassificationService.h delete mode 100644 smoothy/inc/gmds/smoothy/mat.h delete mode 100644 smoothy/inc/gmds/smoothy/vec.h create mode 100644 smoothy/src/LaplacianSmoother2UC.cpp rename smoothy/src/{LaplacianSmoother.cpp => LaplacianSmoother3C.cpp} (79%) create mode 100644 smoothy/src/SmoothingClassificationService.cpp diff --git a/blockMesher/src/main_blockmesher.cpp b/blockMesher/src/main_blockmesher.cpp index d907ce5f9..026f7a682 100644 --- a/blockMesher/src/main_blockmesher.cpp +++ b/blockMesher/src/main_blockmesher.cpp @@ -1,15 +1,15 @@ /*----------------------------------------------------------------------------*/ +#include +#include +#include +#include #include #include #include #include #include -#include -#include -#include -#include #include -#include +#include /*----------------------------------------------------------------------------*/ #include #include @@ -449,15 +449,18 @@ int main(int argc, char* argv[]) // PERFORM THE BLOCK SMOOTHING NOW //================================================================== std::cout<<"> Start block smoothing"< Start final mesh writing"<