From f10d85871e9af96f06814d162a1269ffc2cd9939 Mon Sep 17 00:00:00 2001
From: Wenqing Wang <wenqing.wang@ufz.de>
Date: Wed, 27 Oct 2021 16:12:17 +0200
Subject: [PATCH] [MeshLib] Corrected the face nodes and edge nodes of 15 node
 prism

---
 MeshLib/Elements/PrismRule15.cpp | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/MeshLib/Elements/PrismRule15.cpp b/MeshLib/Elements/PrismRule15.cpp
index 7d1d6c37bb1..f80844a3997 100644
--- a/MeshLib/Elements/PrismRule15.cpp
+++ b/MeshLib/Elements/PrismRule15.cpp
@@ -18,23 +18,23 @@
 namespace MeshLib
 {
 const unsigned PrismRule15::face_nodes[5][8] = {
-    {0, 2, 1, 8, 7, 6, 99, 99},    // Face 0
-    {0, 1, 4, 3, 6, 10, 12, 9},    // Face 1
-    {1, 2, 5, 4, 7, 11, 13, 10},   // Face 2
-    {2, 0, 3, 5, 8, 9, 14, 11},    // Face 3
-    {3, 4, 5, 12, 13, 14, 99, 99}  // Face 4
+    {0, 2, 1, 8, 7, 6, 99, 99},   // Face 0
+    {0, 1, 4, 3, 6, 13, 9, 12},   // Face 1
+    {1, 2, 5, 4, 7, 14, 10, 13},  // Face 2
+    {2, 0, 3, 5, 8, 12, 11, 14},  // Face 3
+    {3, 4, 5, 9, 10, 11, 99, 99}  // Face 4
 };
 
 const unsigned PrismRule15::edge_nodes[9][3] = {
     {0, 1, 6},   // Edge 0
     {1, 2, 7},   // Edge 1
     {0, 2, 8},   // Edge 2
-    {0, 3, 9},   // Edge 3
-    {1, 4, 10},  // Edge 4
-    {2, 5, 11},  // Edge 5
-    {3, 4, 12},  // Edge 6
-    {4, 5, 13},  // Edge 7
-    {3, 5, 14}   // Edge 8
+    {0, 3, 12},  // Edge 3
+    {1, 4, 13},  // Edge 4
+    {2, 5, 14},  // Edge 5
+    {3, 4, 9},   // Edge 6
+    {4, 5, 10},  // Edge 7
+    {3, 5, 11}   // Edge 8
 };
 
 const unsigned PrismRule15::n_face_nodes[5] = {6, 8, 8, 8, 6};
-- 
GitLab