From cf4b73fd6218e9b73cccac8612fead43c0ba2a93 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Tue, 25 Aug 2015 17:32:26 +0000
Subject: [PATCH] [adapt] Implement a boundaryFaceIndex method for cellcentered
 fv geometry for compatibility with the box fvgeometry.

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15378 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/implicit/cellcentered/ccfvelementgeometry.hh | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dumux/implicit/cellcentered/ccfvelementgeometry.hh b/dumux/implicit/cellcentered/ccfvelementgeometry.hh
index 28ee8bb2b3..cbf2f7e000 100644
--- a/dumux/implicit/cellcentered/ccfvelementgeometry.hh
+++ b/dumux/implicit/cellcentered/ccfvelementgeometry.hh
@@ -228,6 +228,14 @@ public:
             }
         }
     }
+
+    /*!
+     * \brief For compatibilty with the box element geometry
+     */
+    int boundaryFaceIndex(const int fIdx, const int vIdxInFace) const
+    {
+        return fIdx;
+    }
 };
 
 }
-- 
GitLab