discretize.TreeMesh.cell_levels_by_index#
- TreeMesh.cell_levels_by_index(indices)[source]#
Fast function to return a list of levels for the given cell indices.
- Parameters:
- indices: (N) array_like
Cell indexes to query
- Returns:
- (
N
)numpy.ndarray
of
int
Levels for the cells.
- (