SimPEG.electromagnetics.frequency_domain.sources.RawVec_e.evalDeriv#
- RawVec_e.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.