simpeg.electromagnetics.time_domain.Simulation3DMagneticFluxDensity.getAsubdiagDeriv#
- Simulation3DMagneticFluxDensity.getAsubdiagDeriv(tInd, u, v, adjoint=False)[source]#
Derivative operation for the sub-diagonal system matrix times a vector.
The sub-diagonal system matrix for time-step index k is given by:
where
is the step length and is the identity matrix.See the Notes section of the doc strings for
Simulation3DMagneticFluxDensity
for a full description of the formulation.Where
are the set of model parameters, is a vector and is the discrete solution for the previous time-step, this method assumes the discrete solution is fixed and returnsOr the adjoint operation
The derivative operation returns a vector of zeros because the sub-diagonal system matrix does not depend on the model!!!
- Parameters:
- tInd
int
The time index; between
[0, n_steps-1]
.- u(n_faces,)
numpy.ndarray
The solution for the fields for the current model for the previous time-step; i.e.
.- v
numpy.ndarray
The vector. (n_param,) for the standard operation. (n_faces,) for the adjoint operation.
- adjointbool
Whether to perform the adjoint operation.
- tInd
- Returns:
numpy.ndarray
Derivative of system matrix times a vector. (n_faces,) for the standard operation. (n_param,) for the adjoint operation.