simpeg.electromagnetics.time_domain.Simulation3DMagneticField.getAdiag#

Simulation3DMagneticField.getAdiag(tInd)[source]#

Diagonal system matrix for the given time-step index.

This method returns the diagonal system matrix for the time-step index provided:

Ak=CTMfρC+1ΔtkMeμ

where

  • Δtk is the step length

  • C is the discrete curl operator

  • Mfρ is the resistivity inner-product matrix on faces

  • Meμ is the permeability inner-product matrix on edges

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

Parameters:
tIndint

The time-step index; between [0, n_steps-1].

Returns:
(n_edges, n_edges) sp.sparse.csr_matrix

The diagonal system matrix.