simpeg.electromagnetics.time_domain.Simulation3DCurrentDensity.getInitialFieldsDeriv#

Simulation3DCurrentDensity.getInitialFieldsDeriv(src, v, adjoint=False, f=None)[source]#

Derivative of the initial fields with respect to the model for a given source.

For a given source object src, let \(\mathbf{u_0}\) represent the initial fields discretized to the mesh. Where \(\mathbf{m}\) are the model parameters and \(\mathbf{v}\) is a vector, this method computes and returns:

\[\dfrac{\partial \mathbf{u_0}}{\partial \mathbf{m}} \, \mathbf{v}\]

or the adjoint operation:

\[\dfrac{\partial \mathbf{u_0}}{\partial \mathbf{m}}^T \, \mathbf{v}\]
Parameters:
srctime_domain.sources.BaseTDEMSrc

A TDEM source.

vnumpy.ndarray

A vector of appropriate dimension. When adjoint is False, v is a (n_param,) numpy.ndarray. When adjoint is True, v is a (n_edges or n_faces,) numpy.ndarray.

adjointbool

Whether to perform the adjoint operation.

ftime_domain.fields.BaseTDEMFields, optional

The TDEM fields object.

Returns:
numpy.ndarray

Derivatives of the initial fields with respect to the model for a given source. (n_edges or n_faces,) numpy.ndarray when adjoint is False. (n_param,) numpy.ndarray when adjoint is True.