From 9800a73793fcbe0042e8d0add38e3a960bfcb802 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 3 Jun 2010 09:41:39 +0000
Subject: [PATCH] missing MSH_QUA_12

---
 Geo/MElement.cpp | 1 +
 tutorial/t6.geo  | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp
index 5d0fdc7ef7..66fd267c4e 100644
--- a/Geo/MElement.cpp
+++ b/Geo/MElement.cpp
@@ -971,6 +971,7 @@ MElement *MElementFactory::create(int type, std::vector<MVertex*> &v,
   case MSH_QUA_4:  return new MQuadrangle(v, num, part);
   case MSH_QUA_8:  return new MQuadrangle8(v, num, part);
   case MSH_QUA_9:  return new MQuadrangle9(v, num, part);
+  case MSH_QUA_12: return new MQuadrangleN(v, 3, num, part);
   case MSH_QUA_16: return new MQuadrangleN(v, 3, num, part);
   case MSH_QUA_25: return new MQuadrangleN(v, 4, num, part);
   case MSH_QUA_36: return new MQuadrangleN(v, 5, num, part);
diff --git a/tutorial/t6.geo b/tutorial/t6.geo
index b0eb0a19b8..07f850eef4 100644
--- a/tutorial/t6.geo
+++ b/tutorial/t6.geo
@@ -53,3 +53,5 @@ Recombine Surface{1};
 
 // Apply an elliptic smoother to the grid
 Mesh.Smoothing = 100;
+
+Physical Surface(1) = 1;
-- 
GitLab