From a3391519f0a4220cde5373e9a5151780d1f523d9 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 27 Oct 2020 07:54:26 +0100 Subject: [PATCH] add GeomInfo for bisecting quads --- libsrc/meshing/bisect.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libsrc/meshing/bisect.cpp b/libsrc/meshing/bisect.cpp index 1f9bbba8..5127c439 100644 --- a/libsrc/meshing/bisect.cpp +++ b/libsrc/meshing/bisect.cpp @@ -1082,8 +1082,12 @@ namespace netgen MarkedQuad & mq) { for (int i = 0; i < 4; i++) - mq.pnums[i] = el[i]; - Swap (mq.pnums[2], mq.pnums[3]); + { + mq.pnums[i] = el[i]; + mq.pgeominfo[i] = el.GeomInfoPi (i+1); + } + Swap (mq.pnums[2], mq.pnums[3]); + Swap (mq.pgeominfo[2], mq.pgeominfo[3]); mq.marked = 0; mq.markededge = 0;