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[float] – The coordinates of the centroid.