Skip to content
Snippets Groups Projects
Commit 4e969266 authored by Éric Béchet's avatar Éric Béchet
Browse files

"corrected" untangleInvalidQuads with no BFGS available.

parent a32f7164
No related branches found
No related tags found
No related merge requests found
...@@ -2174,10 +2174,12 @@ void laplaceSmoothing(GFace *gf, int niter, bool infinity_norm) ...@@ -2174,10 +2174,12 @@ void laplaceSmoothing(GFace *gf, int niter, bool infinity_norm)
} }
int untangleInvalidQuads(GFace *gf, int niter) int untangleInvalidQuads(GFace *gf, int niter)
{ {
// return; // return;
int N = 0; int N = 0;
#if defined(HAVE_BFGS)
v2t_cont adj; v2t_cont adj;
buildVertexToElement(gf->triangles, adj); buildVertexToElement(gf->triangles, adj);
buildVertexToElement(gf->quadrangles, adj); buildVertexToElement(gf->quadrangles, adj);
...@@ -2188,6 +2190,7 @@ int untangleInvalidQuads(GFace *gf, int niter) ...@@ -2188,6 +2190,7 @@ int untangleInvalidQuads(GFace *gf, int niter)
} }
} }
} }
#endif
return N; return N;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment