From 70364c71d805e49c13573d45a5697a0a6b17a284 Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Tue, 20 Jan 2015 11:14:07 +0000
Subject: [PATCH] [fvgeometry] fix edge to face indices for pyramids

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@14084 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 492aa42f87..1bd6fe5729 100644
--- a/dumux/implicit/box/boxfvelementgeometry.hh
+++ b/dumux/implicit/box/boxfvelementgeometry.hh
@@ -429,8 +429,8 @@ class BoxFVElementGeometry
             {0, 2, 0, 1, 3, 2}
         };
         static const int edgeToFacePyramid[2][8] = {
-            {1, 2, 3, 4, 1, 3, 4, 2},
-            {0, 0, 0, 0, 3, 2, 1, 4}
+            {0, 2, 3, 0, 1, 3, 4, 2},
+            {1, 0, 0, 4, 3, 2, 1, 4}
         };
         static const int edgeToFacePrism[2][9] = {
             {1, 0, 2, 0, 3, 2, 4, 1, 4},
-- 
GitLab