mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' into cvm
This commit is contained in:
@ -499,7 +499,7 @@ Foam::point Foam::face::centre(const pointField& points) const
|
||||
const label nPoints = size();
|
||||
|
||||
// If the face is a triangle, do a direct calculation
|
||||
if (nPoints)
|
||||
if (nPoints == 3)
|
||||
{
|
||||
return
|
||||
(1.0/3.0)
|
||||
|
||||
Reference in New Issue
Block a user