simpeg.electromagnetics.frequency_domain.sources.LineCurrent.evalDeriv#
- LineCurrent.evalDeriv(simulation, v=None, adjoint=False)[source]#
Return derivative of the magnetic and electric source terms with respect to the model.
- Parameters:
- simulation
simpeg.electromagnetics.base.BaseEMSimulation
An instance of an electromagnetic simulation
- v
np.ndarray
A vector
- adjointbool
If
True
, return the adjoint operation
- simulation
- 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 isNone
, the method returns the functions for multiplying the derivatives with a vector.