VolMesh.halfface_center

VolMesh.halfface_center(face)[source]

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

Parameters

face (int) – The identifier of the face.

Returns

list[float] – The coordinates of the center of mass.