mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 14:20:34 +05:00
Use same color for shifted faces in boundary layer generation
This commit is contained in:
parent
6091669e28
commit
000a312dc2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user