simpeg.maps.Mesh2Mesh#

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

Bases: IdentityMap

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

Attributes

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 source mesh used for the mapping.

nP

Number of parameters in the model.

shape

Number of parameters in the model.

P

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, random_seed])

Derivative test for the mapping.

Galleries and Tutorials using simpeg.maps.Mesh2Mesh#

Maps: Mesh2Mesh

Maps: Mesh2Mesh