VolMesh.face_centroid

VolMesh.face_centroid(face)[source]

Compute the location of the centroid of a face.

Parameters

face (int) – The identifier of the face.

Returns

list – The coordinates of the centroid.