simpeg.electromagnetics.time_domain.Simulation3DElectricField.getAdiag#
- Simulation3DElectricField.getAdiag(tInd)[source]#
Diagonal system matrix for the time-step index provided.
This method returns the diagonal system matrix for the time-step index provided:
\[\mathbf{A}_k = \mathbf{C^T M_{f\frac{1}{\mu}} C} + \frac{1}{\Delta t_k} \mathbf{M_{e\sigma}}\]where
\(\Delta t_k\) is the step length
\(\mathbf{C}\) is the discrete curl operator
\(\mathbf{M_{e \sigma}}\) is the conductivity inner-product matrix on edges
\(\mathbf{M_{f\frac{1}{\mu}}}\) is the inverse permeability inner-product matrix on faces
See the Notes section of the doc strings for
Simulation3DElectricField
for a full description of the formulation.- Parameters:
- tInd
int
The time-step index; between
[0, n_steps-1]
.
- tInd
- Returns:
- (
n_edges
,n_edges
)sp.sparse.csr_matrix
The diagonal system matrix.
- (