simpeg.electromagnetics.frequency_domain.sources.RawVec.evalDeriv#

RawVec.evalDeriv(simulation, v=None, adjoint=False)[source]#

Return derivative of the magnetic and electric source terms with respect to the model.

Parameters:
simulationsimpeg.electromagnetics.base.BaseEMSimulation

An instance of an electromagnetic simulation

vnp.ndarray

A vector

adjointbool

If True, return the adjoint operation

Returns:
tuple

A tuple (s_mDeriv, s_eDerive). If v is not None, the method returns the derivatives of the magnetic and electric sources times the vector v. If v is None, the method returns the functions for multiplying the derivatives with a vector.