From b4d0e5f8fc7d20c68a8c1a2ed4a4b217ca954c80 Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Mon, 4 Dec 2023 11:01:10 +0100 Subject: [PATCH] don't invert on periodic boundary (only if normal vectors do not match) --- libsrc/meshing/basegeom.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libsrc/meshing/basegeom.cpp b/libsrc/meshing/basegeom.cpp index 2cd03a2d..606ff7a3 100644 --- a/libsrc/meshing/basegeom.cpp +++ b/libsrc/meshing/basegeom.cpp @@ -1057,12 +1057,6 @@ namespace netgen } xbool do_invert = maybe; - if(dst.identifications[0].type == Identifications::PERIODIC) - { - auto other = static_cast(dst.primary); - if(dst.domin != other->domout && dst.domout != other->domin) - do_invert = true; - } // now insert mapped surface elements for(auto sei : mesh.SurfaceElements().Range())