SimPEG.regularization.RegularizationMesh#
- class SimPEG.regularization.RegularizationMesh(mesh, active_cells=None, **kwargs)[source]#
- Bases: - SimPEG.props.BaseSimPEG- Regularization Mesh - This contains the operators used in the regularization. Note that these are not necessarily true differential operators, but are constructed from a discretize Mesh. - Parameters
- mesh (discretize.base.BaseMesh) – problem mesh 
- active_cells (numpy.ndarray) – bool array, size nC, that is True where we have active cells. Used to reduce the operators so we regularize only on active cells 
 
 - Attributes - Projection matrix that takes from the reduced space of active cells to full modelling space (ie. - Projection matrix that takes from the reduced space of active x-faces to full modelling space (ie. - Projection matrix that takes from the reduced space of active y-faces to full modelling space (ie. - Projection matrix that takes from the reduced space of active z-faces to full modelling space (ie. - A boolean array indicating whether a cell is active - Averaging from active x-faces to active cell centers. - Averaging matrix from active y-faces to active cell centers. - Averaging matrix from active z-faces to active cell centers. - Averaging from active cell centers to active x-faces. - Averaging from active cell centers to active y-faces. - Averaging from active cell centers to active z-faces. - Vertically stacked matrix of cell averaging operators from active cell centers to active faces along each dimension of the mesh. - The smallest core cell size. - cell_gradient_x.cellDiffx has been deprecated. - cell_gradient_y.cellDiffy has been deprecated. - cell_gradient_z.cellDiffz has been deprecated. - Cell center distance array along the x-direction. - Cell center distance array along the y-direction. - Cell center distance array along the z-direction. - Vertically stacked matrix of cell gradients along each dimension of the mesh. - Cell centered gradient matrix for active cells in the x-direction. - Cell centered gradient matrix for active cells in the y-direction. - Cell centered gradient matrix for active cells in the z-direction. - Dimension of regularization mesh (1D, 2D, 3D) - Number of cells being regularized. - Reduced volume vector. - regularization_type