From 4d9d8541834e920a49f1a38caf455c962a89c631 Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Tue, 5 Apr 2011 10:40:58 +0000 Subject: [PATCH] --- Mesh/HighOrder.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Mesh/HighOrder.cpp b/Mesh/HighOrder.cpp index e03cc759a8..6c8b2a0918 100644 --- a/Mesh/HighOrder.cpp +++ b/Mesh/HighOrder.cpp @@ -1382,9 +1382,11 @@ void SetOrderN(GModel *m, int order, bool linear, bool incomplete) double t2 = Cpu(); - highOrderTools hot (m); - hot.ensureMinimumDistorsion(0.1); - checkHighOrderTriangles("final mesh", m, bad, worst); + if (!linear){ + highOrderTools hot (m); + hot.ensureMinimumDistorsion(0.1); + checkHighOrderTriangles("final mesh", m, bad, worst); + } Msg::StatusBar(2, true, "Done meshing order %d (%g s)", order, t2 - t1); } -- GitLab