simpeg.electromagnetics.frequency_domain.Simulation3DCurrentDensity.getRHS#

Simulation3DCurrentDensity.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 M_{e\mu}^{-1} 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_{e\mu}}\) is the inner-product matrices for permeabilities projected to edges

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

Parameters:
freqfloat

The frequency in Hz.

Returns:
(n_faces, n_sources) numpy.ndarray

The right-hand sides.