mirror of
https://github.com/NGSolve/netgen.git
synced 2025-06-03 00:17:50 +05:00
Stop meshing if boundarylayer thickness limitation reaches 1e-10
This commit is contained in:
parent
600b33edd6
commit
be79facdb3
@ -639,6 +639,10 @@ struct GrowthVectorLimiter
|
|||||||
for (auto i : Range(3))
|
for (auto i : Range(3))
|
||||||
EqualizeLimits(smoothing_factors[i_pass]);
|
EqualizeLimits(smoothing_factors[i_pass]);
|
||||||
|
|
||||||
|
for (auto i : Range(growthvectors))
|
||||||
|
if (limits[i] < 1e-10)
|
||||||
|
throw NgException("Stop meshing in boundary layer thickness limitation: overlapping regions detected");
|
||||||
|
|
||||||
if (i_pass == safeties.size() - 1)
|
if (i_pass == safeties.size() - 1)
|
||||||
FixIntersectingSurfaceTrigs();
|
FixIntersectingSurfaceTrigs();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user