From 433247b09b18850132a3759ee1278b6d369bdb47 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Thu, 27 Jun 2024 11:15:59 +0200 Subject: [PATCH] Boundarylayers - fix finding non-relevant intersections in growth vector limitation --- libsrc/meshing/boundarylayer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libsrc/meshing/boundarylayer.cpp b/libsrc/meshing/boundarylayer.cpp index d9566e72..d22ee6c6 100644 --- a/libsrc/meshing/boundarylayer.cpp +++ b/libsrc/meshing/boundarylayer.cpp @@ -227,6 +227,11 @@ struct GrowthVectorLimiter { auto seg = GetSeg(pi_to, seg_shift, true); + for (auto pi : mesh[sei].PNums()) { + if (pi == pi_from) return false; + if (map_from[pi] == pi_from) return false; + } + if(check_prism_sides) { for(auto i : Range(3)) { auto side = GetSideTrig(sei, i, trig_shift, true);