Skip to content
Snippets Groups Projects
Commit 93dc5aae authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

No commit message

No commit message
parent 18bc7c54
No related branches found
No related tags found
No related merge requests found
...@@ -1261,8 +1261,10 @@ bool BDS_Mesh::smooth_point_centroid(BDS_Point *p, GFace *gf, bool test_quality) ...@@ -1261,8 +1261,10 @@ bool BDS_Mesh::smooth_point_centroid(BDS_Point *p, GFace *gf, bool test_quality)
oldWorst = std::min(oldWorst, qmTriangle(*it, QMTRI_RHO)); oldWorst = std::min(oldWorst, qmTriangle(*it, QMTRI_RHO));
double ps; double ps;
prosca(norm1, norm2, &ps); prosca(norm1, norm2, &ps);
double threshold = (isSphere ? 0.9 : 0.5); double threshold = (isSphere ? 0.95 : 0.5);
if(ps < threshold) return false; if(ps < threshold){
return false;
}
} }
++it; ++it;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment