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.
- radius
float radius of the ball
- center(
- Returns:
numpy.ndarrayofintThe indices of cells which overlap the ball.