mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-15 02:18:33 +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))
|
||||
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)
|
||||
FixIntersectingSurfaceTrigs();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user