diff --git a/dumux/discretization/cellcentered/mpfa/helper.hh b/dumux/discretization/cellcentered/mpfa/helper.hh index 9f2b30ab35b225ac502e27389e992a36e0825a97..cc0ea3286be73448d4ef46657117f5db748a20b9 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 3184110614845361f0f45639d1aa784e745943a0..61e2538f14e74aee20db301789252690dcea1e9c 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