don't invert on periodic boundary (only if normal vectors do not match)

This commit is contained in:
Christopher Lackner 2023-12-04 11:01:10 +01:00
parent 6bd09ee05e
commit b4d0e5f8fc

View File

@ -1057,12 +1057,6 @@ namespace netgen
}
xbool do_invert = maybe;
if(dst.identifications[0].type == Identifications::PERIODIC)
{
auto other = static_cast<GeometryFace*>(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())