mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
Merge branch 'fix_invert_periodic_bc' into 'master'
do invert if periodic bc face domin & domout do not match See merge request ngsolve/netgen!512
This commit is contained in:
commit
42b92263fa
@ -976,6 +976,12 @@ 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())
|
||||
|
Loading…
Reference in New Issue
Block a user