Merge branch 'dont_curve_boundarylayer' into 'master'

dont curve faces with boundarylayers

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

View File

@ -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);
}
}