SimPEG.maps.SurjectFull#

class SimPEG.maps.SurjectFull(mesh, **kwargs)[source]#

Bases: SimPEG.maps.IdentityMap

Mapping a single property value to all mesh cells.

Let m be a model defined by a single physical property value SurjectFull construct a surjective mapping that projects m to the set of voxel cells defining a mesh. The mapping u(m) is a matrix of 1s of shape (mesh.nC , 1) that projects the model to all mesh cells, i.e.:

u(m)=Pm
Parameters
meshdiscretize.BaseMesh

A discretize mesh

Attributes

nP

Number of parameters the mapping acts on; i.e. 1.

Methods

deriv(m[, v])

Derivative of the mapping with respect to the input parameters.