discretize.TreeMesh.get_cells_in_aabb#

TreeMesh.get_cells_in_aabb(self, x_min, x_max) Find the indices of cells that intersect an axis aligned bounding box (aabb)#

Find the indices of cells that intersect an axis aligned bounding box (aabb)

Parameters:
x_min(dim, ) array_like

Minimum extent of the box.

x_max(dim, ) array_like

Maximum extent of the box.

Returns:
numpy.ndarray of int

The indices of cells which overlap the axis aligned bounding box.