Skip to content
Snippets Groups Projects
Commit b8b3329f authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[mpfa][helper] rename getScvfArea() -> computeScvfArea()

parent c4436d02
No related branches found
No related tags found
1 merge request!1325Feature/mpfa-scv-gradient-reconstruction
......@@ -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();
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment