discretize.TreeMesh.get_containing_cells#
- TreeMesh.get_containing_cells(self, points)#
Return the cells containing the given points.
- Parameters:
- points(
dim)or(n_point,dim) array_like The locations to query for the containing cells
- points(
- Returns:
intor(n_point)numpy.ndarrayofintThe indexes of cells containing each point.