Cell.face_centroid

Cell.face_centroid(fkey)

Compute the location of the centroid of a face.

Parameters

fkey (int) – The identifier of the face.

Returns

list[float] – The coordinates of the centroid.