discretize.TreeMesh.get_cells_in_ball#

TreeMesh.get_cells_in_ball(self, center, double radius)#

Find the indices of cells that intersect a ball

Parameters:
center(dim) array_like

center of the ball.

radiusfloat

radius of the ball

Returns:
numpy.ndarray of int

The indices of cells which overlap the ball.