From b8b3329faaeb5792f999fc8b4a19152c696bf855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de>
Date: Thu, 22 Nov 2018 10:57:50 +0100
Subject: [PATCH] [mpfa][helper] rename getScvfArea() -> computeScvfArea()

---
 dumux/discretization/cellcentered/mpfa/helper.hh            | 6 ++----
 .../cellcentered/mpfa/subcontrolvolumeface.hh               | 2 +-
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/dumux/discretization/cellcentered/mpfa/helper.hh b/dumux/discretization/cellcentered/mpfa/helper.hh
index 9f2b30ab35..cc0ea3286b 100644
--- a/dumux/discretization/cellcentered/mpfa/helper.hh
+++ b/dumux/discretization/cellcentered/mpfa/helper.hh
@@ -176,11 +176,9 @@ public:
      * \brief Calculates the area of an scvf.
      * \param scvfCorners Container with the corners of the scvf
      */
-    static CoordScalar getScvfArea(const ScvfCornerVector& scvfCorners)
+    static CoordScalar computeScvfArea(const ScvfCornerVector& scvfCorners)
     { return (scvfCorners[1]-scvfCorners[0]).two_norm(); }
 
-
-
     /*!
      * \brief Calculates the number of scvfs in a given element geometry type.
      * \param gt The element geometry type
@@ -470,7 +468,7 @@ public:
      * \brief Calculates the area of an scvf.
      * \param scvfCorners Container with the corners of the scvf
      */
-    static CoordScalar getScvfArea(const ScvfCornerVector& scvfCorners)
+    static CoordScalar computeScvfArea(const ScvfCornerVector& scvfCorners)
     {
         // after Wolfram alpha quadrilateral area
         return 0.5*Dumux::crossProduct(scvfCorners[3]-scvfCorners[0], scvfCorners[2]-scvfCorners[1]).two_norm();
diff --git a/dumux/discretization/cellcentered/mpfa/subcontrolvolumeface.hh b/dumux/discretization/cellcentered/mpfa/subcontrolvolumeface.hh
index 3184110614..61e2538f14 100644
--- a/dumux/discretization/cellcentered/mpfa/subcontrolvolumeface.hh
+++ b/dumux/discretization/cellcentered/mpfa/subcontrolvolumeface.hh
@@ -145,7 +145,7 @@ public:
 
           // use helper class to obtain area & integration point
           ipGlobal_ = helper.getScvfIntegrationPoint(corners_, q);
-          area_ = helper.getScvfArea(corners_);
+          area_ = helper.computeScvfArea(corners_);
     }
 
     //! The area of the sub control volume face
-- 
GitLab