From e0e727ad673056c3ab6a32b813b0648b735b0b95 Mon Sep 17 00:00:00 2001
From: Amaury Johnan <amjohnen@gmail.com>
Date: Mon, 21 Oct 2013 21:23:23 +0000
Subject: [PATCH] fix prism18 generation

---
 Mesh/HighOrder.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mesh/HighOrder.cpp b/Mesh/HighOrder.cpp
index c19b899dae..050123290f 100644
--- a/Mesh/HighOrder.cpp
+++ b/Mesh/HighOrder.cpp
@@ -625,7 +625,7 @@ static void getFaceAndInteriorVertices(GRegion *gr, MElement *incomplete, MEleme
   case TYPE_PRI :
     switch (nPts){
     case 0: return;
-    case 1: return;
+    case 1: points = BasisFactory::getNodalBasis(MSH_PRI_18)->points; break;
     case 2: points = BasisFactory::getNodalBasis(MSH_PRI_40)->points; break;
     case 3: points = BasisFactory::getNodalBasis(MSH_PRI_75)->points; break;
     case 4: points = BasisFactory::getNodalBasis(MSH_PRI_126)->points; break;
-- 
GitLab