SimPEG.regularization.SmoothnessSecondOrder.cell_gradient#

property SmoothnessSecondOrder.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.