SimPEG.utils.extract_core_mesh(xyzlim, mesh, mesh_type='tensor')[source]#

Extract the core mesh from a global mesh.

xyzlim(dim, 2) numpy.ndarray

2D array defining the x, y and z cutoffs for the core mesh region. Each row contains the minimum and maximum limit for the x, y and z axis, respectively.


The mesh

mesh_typestr, optional

Unused currently

tuple: (active_index, core_mesh)

active_index is a boolean array that maps from the global the mesh to core mesh. core_mesh is a discretize.base.BaseMesh object representing the core mesh.


Galleries and Tutorials using SimPEG.utils.extract_core_mesh#

3D DC inversion of Dipole Dipole array

3D DC inversion of Dipole Dipole array