VolMesh.face_center

VolMesh.face_center(face)[source]

Compute the location of the center of mass of a face.

Parameters

face (int) – The identifier of the face.

Returns

list – The coordinates of the center of mass.