mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +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);
|
static Timer t("MeshOptimize3d::SwapImprove2"); RegionTimer reg(t);
|
||||||
|
|
||||||
// return SwapImprove2Sequential(mesh, goal);
|
// return SwapImprove2Sequential(mesh, goal);
|
||||||
|
if (goal == OPT_CONFORM) return;
|
||||||
|
|
||||||
mesh.BuildBoundaryEdges(false);
|
mesh.BuildBoundaryEdges(false);
|
||||||
|
|
||||||
@ -3986,8 +3987,6 @@ void MeshOptimize3d :: SwapImprove2 (Mesh & mesh, OPTIMIZEGOAL goal)
|
|||||||
int ne = mesh.GetNE();
|
int ne = mesh.GetNE();
|
||||||
int nse = mesh.GetNSE();
|
int nse = mesh.GetNSE();
|
||||||
|
|
||||||
if (goal == OPT_CONFORM) return;
|
|
||||||
|
|
||||||
// contains at least all elements at node
|
// contains at least all elements at node
|
||||||
TABLE<SurfaceElementIndex, PointIndex::BASE> belementsonnode(np);
|
TABLE<SurfaceElementIndex, PointIndex::BASE> belementsonnode(np);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user