simpeg.utils.model_builder.get_indices_block#
- simpeg.utils.model_builder.get_indices_block(p0, p1, cell_centers)[source]#
Get indices for cells whose centers lie inside specified block
- Parameters:
- p0(
dim)numpy.ndarray Bottom southwest corner of the block
- p1(
dim)numpy.ndarray Top northeast corner of the block
- cell_centers(
n_cells,dim)numpy.ndarrayordiscretize.base.BaseMesh A mesh or its gridded cell center locations
- p0(
- Returns:
Galleries and Tutorials using simpeg.utils.model_builder.get_indices_block#
Forward Simulation for Straight Ray Tomography in 2D
Forward Simulation for Straight Ray Tomography in 2D