simpeg.regularization.SparseSmoothness.cell_gradient#

property SparseSmoothness.cell_gradient#

Partial cell gradient operator.

Returns the partial gradient operator which takes the derivative along the orientation where smoothness is being enforced. For smoothness along the x-direction, the resulting operator would map from cell centers to x-faces.

Returns:
scipy.sparse.csr_matrix

Partial cell gradient operator defined on the regularization.RegularizationMesh.