xugrid.Ugrid2d.face_coordinates#

property Ugrid2d.face_coordinates: ndarray#

Centroid (x, y) of every face.

Returns:

centroids

Return type:

ndarray of floats with shape (n_face, 2)