Skip to content
Snippets Groups Projects
Commit 6b672fec authored by Amaury Johnen's avatar Amaury Johnen
Browse files

skip computation of Jacobian for HO pyramids until Bezier subdivision is implemented.

parent 1e71ca75
No related branches found
No related tags found
No related merge requests found
......@@ -475,6 +475,14 @@ void GMSH_AnalyseCurvedMeshPlugin::computeMinMax(MElement *const*el, int numEl,
_min_ratioJ = 1.7e308;
for (int k = 0; k < numEl; ++k) {
if (el[k]->getType() == TYPE_PYR && el[k]->getPolynomialOrder() > 1) {
static int i = 0;
if (++i == 1) {
Msg::Error("High-order pyramids skipped (subdivision not implemented).");
Msg::Error("Subdivision will come soon :) (before may 2014)");
}
continue;
}
#ifdef _ANALYSECURVEDMESH_BLAS_
jacBez.setAsProxy(jacBezB, k);
......@@ -573,6 +581,7 @@ void GMSH_AnalyseCurvedMeshPlugin::computeMinMax(MElement *const*el, int numEl,
}
while (pqMax.size() > 0) {
break;
bj = pqMax.top();
pqMax.pop();
delete bj;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment