Skip to content
Snippets Groups Projects
Commit a0658383 authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

hopla

parent f21700e3
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,7 @@ static bool computeEquidistantParameters0(GEdge *ge, double u0, double uN, int N
return false;
}
// 1 = geodesics
static int method_for_computing_intermediary_points = 1;
static int method_for_computing_intermediary_points = 0;
static bool computeEquidistantParameters(GEdge *ge, double u0, double uN, int N,
double *u, double underRelax){
if (method_for_computing_intermediary_points == 0) // use linear abscissa
......@@ -1330,9 +1330,9 @@ void SetOrderN(GModel *m, int order, bool linear, bool incomplete)
std::vector<MElement*> v;
v.insert(v.begin(), (*it)->triangles.begin(), (*it)->triangles.end());
v.insert(v.end(), (*it)->quadrangles.begin(), (*it)->quadrangles.end());
hot.applySmoothingTo(v, (*it));
// hot.applySmoothingTo(v, (*it));
}
hot.ensureMinimumDistorsion(0.1);
// hot.ensureMinimumDistorsion(0.1);
checkHighOrderTriangles("Final mesh", m, bad, worst);
checkHighOrderTetrahedron("Final mesh", m, bad, worst);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment