1
0
mirror of https://github.com/NGSolve/netgen.git synced 2025-03-28 09:18:37 +05:00

Merge branch 'dont_curve_boundarylayer' into 'master'

dont curve faces with boundarylayers

See merge request 
This commit is contained in:
Hochsteger, Matthias 2024-01-31 15:43:37 +01:00
commit 1c48e552e9

@ -675,6 +675,11 @@ namespace netgen
moved_surfaces.SetBit(i);
mesh.SetBCName(new_si-1, "mapped_" + name);
}
// curving of surfaces with boundary layers will often
// result in pushed through elements, since we do not (yet)
// curvature through layers.
// Therefore we disable curving for these surfaces.
mesh.GetFaceDescriptor(i).SetSurfNr(-1);
}
}