discretize.TreeMesh.point2index#
- TreeMesh.point2index(locs)[source]#
Finds cells that contain the given points. Returns an array of index values of the cells that contain the given points
- Parameters
- locs: (N, dim) array_like
points to search for the location of
- Returns
- (
N
) array_likeof
int
Cell indices that contain the points
- (