simpeg.electromagnetics.time_domain.Simulation3DElectricField.getSourceTerm#
- Simulation3DElectricField.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:
- tInd
int
The time index. Value between
[0, n_steps]
.
- tInd
- Returns:
- s_m
numpy.ndarray
The magnetic sources terms. (n_faces, n_sources) for EB-formulations. (n_edges, n_sources) for HJ-formulations.
- s_e
numpy.ndarray
The electric sources terms. (n_edges, n_sources) for EB-formulations. (n_faces, n_sources) for HJ-formulations.
- s_m