SimPEG.utils.extract_core_mesh#
- SimPEG.utils.extract_core_mesh(xyzlim, mesh, mesh_type='tensor')[source]#
Extracts the core mesh from a global mesh.
- Parameters
- 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.
- mesh
discretize.TensorMesh
The mesh
- mesh_type
str
,optional
Unused currently
- xyzlim(
- Returns
- 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.
Examples
Galleries and Tutorials using SimPEG.utils.extract_core_mesh
#
3D DC inversion of Dipole Dipole array
3D DC inversion of Dipole Dipole array