diff --git a/libsrc/meshing/boundarylayer.cpp b/libsrc/meshing/boundarylayer.cpp index fe7a31ad..ab6ab84a 100644 --- a/libsrc/meshing/boundarylayer.cpp +++ b/libsrc/meshing/boundarylayer.cpp @@ -1306,7 +1306,6 @@ void BoundaryLayerTool ::Perform() if (params.limit_growth_vectors) LimitGrowthVectorLengths(); - FixEdges(); FixSurfaceElements(); for (auto [pi, data] : growth_vector_map) diff --git a/libsrc/meshing/boundarylayer.hpp b/libsrc/meshing/boundarylayer.hpp index e01d14e7..679dc0ba 100644 --- a/libsrc/meshing/boundarylayer.hpp +++ b/libsrc/meshing/boundarylayer.hpp @@ -90,7 +90,6 @@ public: void InterpolateSurfaceGrowthVectors (); void InterpolateGrowthVectors (); void LimitGrowthVectorLengths (); - void FixEdges (); void FixSurfaceElements (); void InsertNewElements (FlatArray>, SegmentIndex> segmap, const BitArray& in_surface_direction); diff --git a/libsrc/meshing/boundarylayer_interpolate.cpp b/libsrc/meshing/boundarylayer_interpolate.cpp index 229fb0c9..20e2cfdf 100644 --- a/libsrc/meshing/boundarylayer_interpolate.cpp +++ b/libsrc/meshing/boundarylayer_interpolate.cpp @@ -365,13 +365,6 @@ void BoundaryLayerTool ::InterpolateSurfaceGrowthVectors() addGW(pi, corrections[pi]); } -void BoundaryLayerTool ::FixEdges() -{ - for (auto& seg : mesh.LineSegments()) - if (seg.epgeominfo[0].edgenr == -1 && seg.epgeominfo[1].edgenr == -1) - seg.edgenr = -1; -} - void BoundaryLayerTool ::FixSurfaceElements() { static Timer tall("FixSurfaceElements");