From b31479b1770e58bf29879e860c07af724164fd63 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Tue, 23 Jun 2015 17:19:22 +0200 Subject: [PATCH] quad elements have non-const Jacobian --- libsrc/meshing/meshtype.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libsrc/meshing/meshtype.cpp b/libsrc/meshing/meshtype.cpp index fbda8a32..b1417f3c 100644 --- a/libsrc/meshing/meshtype.cpp +++ b/libsrc/meshing/meshtype.cpp @@ -201,7 +201,7 @@ namespace netgen orderx = ordery = 1; refflag = 1; strongrefflag = false; - is_curved = false; + is_curved = (np >= 4); // false; } Element2d :: Element2d (ELEMENT_TYPE atyp) @@ -221,7 +221,7 @@ namespace netgen orderx = ordery = 1; refflag = 1; strongrefflag = false; - is_curved = false; + is_curved = (np >= 4); // false; } @@ -270,6 +270,7 @@ namespace netgen deleted = 0; visible = 1; orderx = ordery = 1; + is_curved = true; }