simpeg.electromagnetics.time_domain.Simulation3DMagneticFluxDensity.getAdiagDeriv#

Simulation3DMagneticFluxDensity.getAdiagDeriv(tInd, u, v, adjoint=False)[source]#

Derivative operation for the diagonal system matrix times a vector.

The diagonal system matrix for time-step index k is given by:

Ak=CMeσ1CTMf1μ+1ΔtkI

where

  • Δtk is the step length

  • I is the identity matrix

  • C is the discrete curl operator

  • Meσ is the conductivity inner-product matrix on edges

  • Mf1μ is the inverse permeability inner-product matrix on faces

See the Notes section of the doc strings for Simulation3DMagneticFluxDensity for a full description of the formulation.

Where m are the set of model parameters, v is a vector and bk is the discrete solution for time-step k, this method assumes the discrete solution is fixed and returns

(Akbk)mv

Or the adjoint operation

(Akbk)mTv
Parameters:
tIndint

The time-step index; between [0, n_steps-1].

u(n_faces,) numpy.ndarray

The solution for the fields for the current model; i.e. bk.

vnumpy.ndarray

The vector. (n_param,) for the standard operation. (n_faces,) for the adjoint operation.

adjointbool

Whether to perform the adjoint operation.

Returns:
numpy.ndarray

Derivative of system matrix times a vector. (n_faces,) for the standard operation. (n_param,) for the adjoint operation.