primitiveMeshFaceCentresAndAreas.C File Reference

Calculate the face centres and areas. More...

Include dependency graph for primitiveMeshFaceCentresAndAreas.C:

Go to the source code of this file.

Detailed Description

Calculate the face centres and areas.

Original source file primitiveMeshFaceCentresAndAreas.C

Calculate the centre by breaking the face into triangles using the face centre and area-weighted averaging their centres. This method copes with small face-concavity.

Definition in file primitiveMeshFaceCentresAndAreas.C.