Fix RangeException

This commit is contained in:
Matthias Hochsteger 2024-10-08 18:48:15 +02:00
parent 4a1fe78ff6
commit 92f4381c56
3 changed files with 0 additions and 9 deletions

View File

@ -1306,7 +1306,6 @@ void BoundaryLayerTool ::Perform()
if (params.limit_growth_vectors)
LimitGrowthVectorLengths();
FixEdges();
FixSurfaceElements();
for (auto [pi, data] : growth_vector_map)

View File

@ -90,7 +90,6 @@ public:
void InterpolateSurfaceGrowthVectors ();
void InterpolateGrowthVectors ();
void LimitGrowthVectorLengths ();
void FixEdges ();
void FixSurfaceElements ();
void InsertNewElements (FlatArray<Array<pair<SegmentIndex, int>>, SegmentIndex> segmap, const BitArray& in_surface_direction);

View File

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