discretize.TreeMesh.cell_centers#

TreeMesh.cell_centers#

Gridded cell center locations.

This property returns a numpy array of shape (n_cells, dim) containing gridded cell center locations for all cells in the mesh.

Returns:
(n_cells, dim) numpy.ndarray of float

Gridded cell center locations