SimPEG.electromagnetics.time_domain.sources.BaseTDEMSrc.eval#

BaseTDEMSrc.eval(simulation, time)[source]#

Return magnetic and electric source terms at a given time

Parameters:
simulationSimPEG.electromagnetics.base.BaseTDEMSimulation

An instance of a time-domain electromagnetic simulation

timefloat

The time at which you want to compute the source terms

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.