From 913ede1cae3c2404be6f8c7c4a82b8644bdb274e Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 12 Feb 2025 09:59:07 +0100 Subject: [PATCH] Boundarylayers - disable curving on edges with moved points --- libsrc/meshing/boundarylayer.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libsrc/meshing/boundarylayer.cpp b/libsrc/meshing/boundarylayer.cpp index 5443fee2..90918353 100644 --- a/libsrc/meshing/boundarylayer.cpp +++ b/libsrc/meshing/boundarylayer.cpp @@ -944,7 +944,14 @@ void BoundaryLayerTool ::InsertNewElements( // cout << "moved setg " << seg << endl; for (auto& p : seg.PNums()) if (hasMoved(p)) - p = newPoint(p); + { + p = newPoint(p); + if (params.disable_curving) + { + seg.epgeominfo[0].edgenr = -1; + seg.epgeominfo[1].edgenr = -1; + } + } } }