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 \(\mathbf{u(m)}\) is a matrix of 1s of shape (mesh.nC , 1) that projects the model to all mesh cells, i.e.:\[\mathbf{u}(\mathbf{m}) = \mathbf{Pm}\]- Parameters
- mesh
discretize.BaseMesh
A discretize mesh
- mesh
Attributes
Number of parameters the mapping acts on; i.e. 1.
Methods
deriv
(m[, v])Derivative of the mapping with respect to the input parameters.