mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
Fix RangeException
This commit is contained in:
parent
4a1fe78ff6
commit
92f4381c56
@ -1306,7 +1306,6 @@ void BoundaryLayerTool ::Perform()
|
||||
if (params.limit_growth_vectors)
|
||||
LimitGrowthVectorLengths();
|
||||
|
||||
FixEdges();
|
||||
FixSurfaceElements();
|
||||
|
||||
for (auto [pi, data] : growth_vector_map)
|
||||
|
@ -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);
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user