mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
don't invert on periodic boundary (only if normal vectors do not match)
This commit is contained in:
parent
6bd09ee05e
commit
b4d0e5f8fc
@ -1057,12 +1057,6 @@ namespace netgen
|
|||||||
}
|
}
|
||||||
|
|
||||||
xbool do_invert = maybe;
|
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
|
// now insert mapped surface elements
|
||||||
for(auto sei : mesh.SurfaceElements().Range())
|
for(auto sei : mesh.SurfaceElements().Range())
|
||||||
|
Loading…
Reference in New Issue
Block a user