mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
do invert if periodic bc face domin & domout do not match
This commit is contained in:
parent
354898498f
commit
71a2c4f6f4
@ -976,6 +976,12 @@ 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