SimPEG.electromagnetics.frequency_domain.receivers.PointMagneticField.getP#

PointMagneticField.getP(mesh, projected_grid)[source]#

Get projection matrix from mesh to receivers

Parameters
meshdiscretize.BaseMesh

A discretize mesh

projected_gridstr

Define what part of the mesh (i.e. edges, faces, centers, nodes) to project from. Must be one of:

'E', 'edges_'           -> field defined on edges
'F', 'faces_'           -> field defined on faces
'CCV', 'cell_centers_'  -> vector field defined on cell centers
Returns
scipy.sparse.csr_matrix

P, the interpolation matrix