SimPEG.electromagnetics.frequency_domain.Simulation3DMagneticField.getADeriv_rho#

Simulation3DMagneticField.getADeriv_rho(freq, u, v, adjoint=False)[source]#

Product of the derivative of our system matrix with respect to the model and a vector

\[\frac{\mathbf{A}(\mathbf{m}) \mathbf{v}}{d \mathbf{m}} = \mathbf{C}^{\top}\frac{d \mathbf{M^f_{\rho}}\mathbf{v}} {d\mathbf{m}}\]
Parameters
  • freq (float) – frequency

  • u (numpy.ndarray) – solution vector (nE,)

  • v (numpy.ndarray) – vector to take prodct with (nP,) or (nD,) for adjoint

  • adjoint (bool) – adjoint?

Return type

numpy.ndarray

Returns

derivative of the system matrix times a vector (nP,) or adjoint (nD,)