simpeg.electromagnetics.frequency_domain.Simulation3DElectricField.getRHS#

Simulation3DElectricField.getRHS(freq)[source]#

Right-hand sides for the given frequency.

This method returns the right-hand sides for the frequency provided. The right-hand side for each source is constructed according to:

\[\mathbf{q} = - i \omega \mathbf{s_e} - i \omega \mathbf{C^T M_{f\frac{1}{\mu}} s_m }\]

where

  • \(\mathbf{C}\) is the discrete curl operator

  • \(\mathbf{s_m}\) and \(\mathbf{s_e}\) are the integrated magnetic and electric source terms, respectively

  • \(\mathbf{M_{f\frac{1}{\mu}}}\) is the inner-product matrices for inverse permeabilities projected to faces

See the Notes section of the doc strings for Simulation3DElectricField for a full description of the formulation.

Parameters:
freqfloat

The frequency in Hz.

Returns:
(n_edges, n_sources) numpy.ndarray

The right-hand sides.