property CurvilinearMesh.cell_centers

Gridded cell center locations (staggered grid)

For 2D or 3D curvilinear meshes, this property returns a numpy array of shape (n_cells, dim) containing the gridded cell center locations. The bottom-front-leftmost cell is the first cell.

(n_cells, dim) numpy.ndarray of float

The shape of the output array is the number of cells by the dimension.