From 532e74886241d043c8739720c473dee5a13a5b3f Mon Sep 17 00:00:00 2001
From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de>
Date: Thu, 4 Dec 2014 09:50:47 +0000
Subject: [PATCH] [box for prisms] fix edge to face mapping

A test setup with a prism grid revealed that the edge to face mapping in
boxfvelementgeometry contained wrong orders for two edges.

Reviewed by Bernd.



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13851 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/implicit/box/boxfvelementgeometry.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dumux/implicit/box/boxfvelementgeometry.hh b/dumux/implicit/box/boxfvelementgeometry.hh
index 589e6f84e9..492aa42f87 100644
--- a/dumux/implicit/box/boxfvelementgeometry.hh
+++ b/dumux/implicit/box/boxfvelementgeometry.hh
@@ -433,8 +433,8 @@ class BoxFVElementGeometry
             {0, 0, 0, 0, 3, 2, 1, 4}
         };
         static const int edgeToFacePrism[2][9] = {
-            {1, 0, 2, 0, 1, 2, 4, 4, 4},
-            {0, 2, 1, 3, 3, 3, 0, 1, 2}
+            {1, 0, 2, 0, 3, 2, 4, 1, 4},
+            {0, 2, 1, 3, 1, 3, 0, 4, 2}
         };
         static const int edgeToFaceHex[2][12] = {
             {0, 2, 3, 1, 4, 1, 2, 4, 0, 5, 5, 3},
-- 
GitLab