Use same color for shifted faces in boundary layer generation

This commit is contained in:
Matthias Hochsteger 2024-07-04 15:00:50 +02:00
parent 6091669e28
commit 000a312dc2

View File

@ -670,6 +670,7 @@ namespace netgen
FaceDescriptor new_fd(-1, isIn ? new_mat_nrs[i] : fd.DomainIn(), FaceDescriptor new_fd(-1, isIn ? new_mat_nrs[i] : fd.DomainIn(),
isIn ? fd.DomainOut() : new_mat_nrs[i], -1); isIn ? fd.DomainOut() : new_mat_nrs[i], -1);
new_fd.SetBCProperty(new_si); new_fd.SetBCProperty(new_si);
new_fd.SetSurfColour(fd.SurfColour());
mesh.AddFaceDescriptor(new_fd); mesh.AddFaceDescriptor(new_fd);
si_map[i] = new_si; si_map[i] = new_si;
moved_surfaces.SetBit(i); moved_surfaces.SetBit(i);