simpeg.electromagnetics.time_domain.simulation.BaseTDEMSimulation.getSourceTerm#

BaseTDEMSimulation.getSourceTerm(tInd)[source]#

Return the discrete source terms for the time index provided.

This method computes and returns the discrete magnetic and electric source terms for all soundings at the time index provided. The exact shape and implementation of source terms when solving for the fields at each time-step is formulation dependent.

For definitions of the discrete magnetic (\(\mathbf{s_m}\)) and electric (\(\mathbf{s_e}\)) source terms for each simulation, see the Notes sections of the docstrings for:

Parameters:
tIndint

The time index. Value between [0, n_steps].

Returns:
s_mnumpy.ndarray

The magnetic sources terms. (n_faces, n_sources) for EB-formulations. (n_edges, n_sources) for HJ-formulations.

s_enumpy.ndarray

The electric sources terms. (n_edges, n_sources) for EB-formulations. (n_faces, n_sources) for HJ-formulations.