simpeg.electromagnetics.natural_source.Simulation3DPrimarySecondary.getRHS#

Simulation3DPrimarySecondary.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:

q=iωseiωCTMf1μsm

where

  • C is the discrete curl operator

  • sm and se are the integrated magnetic and electric source terms, respectively

  • Mf1μ 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.