VolMesh.halfface_centroid

VolMesh.halfface_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.