simpeg.maps.Mesh2Mesh#

class simpeg.maps.Mesh2Mesh(meshes, active_cells=None, **kwargs)[source]#

Bases: IdentityMap

Takes a model on one mesh are translates it to another mesh.

Attributes

P

Return the mapping operator.

active_cells

Active indices on target mesh.

indActive

active_cells.indActive has been deprecated.

is_linear

Determine whether or not this mapping is a linear operation.

mesh

The mesh used for the mapping

mesh2

The mesh you want to map from.

nP

Number of parameters in the model.

shape

Number of parameters in the model.

Methods

deriv(m[, v])

Compute derivative of the mapping with respect to the model.

dot(map1)

Multiply two mappings to create a simpeg.maps.ComboMap.

inverse(D)

The transform inverse is not implemented.

test([m, num, random_seed])

Derivative test for the mapping.

Galleries and Tutorials using simpeg.maps.Mesh2Mesh#

Maps: Mesh2Mesh

Maps: Mesh2Mesh