SimPEG.maps.SurjectFull#
- class SimPEG.maps.SurjectFull(mesh, **kwargs)[source]#
Bases:
SimPEG.maps.IdentityMap
Mapping a single property value to all mesh cells.
Let
be a model defined by a single physical property valueSurjectFull
construct a surjective mapping that projects to the set of voxel cells defining a mesh. The mapping is a matrix of 1s of shape (mesh.nC , 1) that projects the model to all mesh cells, i.e.:- 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.