SimPEG.electromagnetics.base.BaseEMSrc.eval#

BaseEMSrc.eval(simulation)[source]#

Return magnetic and electric source terms

Parameters:
simulationSimPEG.electromagnetics.base.BaseEMSimulation

An instance of an electromagnetic simulation

Returns:
tuple

A tuple (s_m, s_e), where s_m is the discretized magnetic source term and s_e is the discretized electric course term.