dont curve faces with boundarylayers

This commit is contained in:
Christopher Lackner 2024-01-31 15:13:20 +01:00
parent e155700bc3
commit 45362b588b

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