simpeg.electromagnetics.frequency_domain.Simulation3DMagneticField.getADeriv_rho#

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

Resistivity derivative operation for the system matrix times a vector.

The system matrix at each frequency is given by:

A=CTMfρC+iωMeμ

where

  • Mfρ is the inner-product matrix for resistivities projected to faces

  • Meμ is the inner-product matrix for permeabilities projected to edges

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

Where mσ are the set of model parameters defining the conductivity, v is a vector and h is the discrete magnetic field solution, this method assumes the discrete solution is fixed and returns

(Ah)mσv

Or the adjoint operation

(Ah)mσTv
Parameters:
freqfloat

The frequency in Hz.

u(n_edges,) numpy.ndarray

The solution for the fields for the current model at the specified frequency.

vnumpy.ndarray

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

adjointbool

Whether to perform the adjoint operation.

Returns:
numpy.ndarray

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