simpeg.electromagnetics.frequency_domain.Simulation3DMagneticFluxDensity.getSourceTerm#
- Simulation3DMagneticFluxDensity.getSourceTerm(freq)[source]#
Returns the discrete source terms for the frequency provided.
This method computes and returns the discrete magnetic and electric source terms for all soundings at the frequency provided. The exact shape and implementation of the source terms when solving for the fields at each frequency 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:
- freq
float
The frequency in Hz.
- freq
- 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