SimPEG.electromagnetics.static.spontaneous_potential.CurrentDensityMap#

class SimPEG.electromagnetics.static.spontaneous_potential.CurrentDensityMap(mesh, active_cells=None)[source]#

Bases: LinearMap

Maps current density to charge density accumulation rate.

Parameters:
meshdiscretize.base.BaseMesh
active_cellsindex_array, optional

Defaults to all cells being active. This is used to apply a 0 Nuemann boundary condition at topographic faces.

Notes

This map relates current density \(\vec{j}_s\) in A/m^2 to the charge density accumulation rate \(q\) (C/(s m^3)) by taking the negative divergence.

\[q = -\nabla \cdot \vec{j}_s\]

Attributes

A

The linear operator matrix.

b

Added part of the linear operation.

is_linear

Determine whether or not this mapping is a linear operation.

mesh

The mesh used for the mapping

nP

Number of parameters the mapping acts on.

shape

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.