mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
return before building boundary edges
This commit is contained in:
parent
7e8a547a91
commit
63133b5058
@ -3976,6 +3976,7 @@ void MeshOptimize3d :: SwapImprove2 (Mesh & mesh, OPTIMIZEGOAL goal)
|
||||
static Timer t("MeshOptimize3d::SwapImprove2"); RegionTimer reg(t);
|
||||
|
||||
// return SwapImprove2Sequential(mesh, goal);
|
||||
if (goal == OPT_CONFORM) return;
|
||||
|
||||
mesh.BuildBoundaryEdges(false);
|
||||
|
||||
@ -3986,8 +3987,6 @@ void MeshOptimize3d :: SwapImprove2 (Mesh & mesh, OPTIMIZEGOAL goal)
|
||||
int ne = mesh.GetNE();
|
||||
int nse = mesh.GetNSE();
|
||||
|
||||
if (goal == OPT_CONFORM) return;
|
||||
|
||||
// contains at least all elements at node
|
||||
TABLE<SurfaceElementIndex, PointIndex::BASE> belementsonnode(np);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user