uxarray.grid.coordinates._populate_edge_centroids

uxarray.grid.coordinates._populate_edge_centroids#

uxarray.grid.coordinates._populate_edge_centroids(grid, repopulate=False)#

Finds the centroids using cartesian averaging of the edges based off the vertices. The centroid is defined as the average of the x, y, z coordinates, normalized.

Parameters:

repopulate (bool, optional) – Bool used to turn on/off repopulating the edge coordinates of the centroids