SimPEG.maps.SurjectFull#
- class SimPEG.maps.SurjectFull(mesh, **kwargs)[source]#
Bases:
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
Determine whether or not this mapping is a linear operation.
The mesh used for the mapping
Number of parameters the mapping acts on; i.e. 1.
Dimensions of the mapping operator
Methods
deriv
(m[, v])Derivative of the mapping with respect to the input parameters.
dot
(map1)Multiply two mappings to create a
SimPEG.maps.ComboMap
.inverse
(D)The transform inverse is not implemented.
test
([m, num])Derivative test for the mapping.