SimPEG.maps.MuRelative#

class SimPEG.maps.MuRelative(mesh=None, nP=None, **kwargs)[source]#

Bases: IdentityMap

Mapping that computes the magnetic permeability given a set of relative permeabilities.

Where \(\boldsymbol{\mu_r}\) defines a set of relative permeabilities, MuRelative creates a mapping \(\boldsymbol{\mu}(\boldsymbol{\mu_r})\) that computes the corresponding magnetic permeabilities of every element in \(\boldsymbol{\mu_r}\); i.e.:

\[\boldsymbol{\mu}(\boldsymbol{\mu_r}) = \mu_0 \boldsymbol{\mu_r}\]

where \(\mu_0\) is the permeability of free space.

Parameters:
meshdiscretize.BaseMesh

The number of parameters accepted by the mapping is set to equal the number of mesh cells.

nPint

Set the number of parameters accepted by the mapping directly. Used if the number of parameters is known. Used generally when the number of parameters is not equal to the number of cells in a mesh.

Methods

deriv(m[, v])

Derivative of mapping with respect to the input parameters.

inverse(m)

Apply the inverse mapping to an array.