graphlow.core.MeshGeometry.face_centroids#

MeshGeometry.face_centroids() T#

Compute face centroids.

Returns:
T

Backend tensor of shape (n_faces, 3) for volume meshes or (n_cells, 3) for surface meshes (each cell is a face).