SimPEG.electromagnetics.static.spectral_induced_polarization.receivers.Dipole.getP#

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

Get projection matrix from mesh to receivers

Parameters:
meshdiscretize.base.BaseMesh

The mesh on which the discrete set of equations is solved

projected_gridstr

Tensor locations on the mesh being interpolated from. projected_grid must be one of:

  • ‘Ex’, ‘edges_x’ -> x-component of field defined on x edges

  • ‘Ey’, ‘edges_y’ -> y-component of field defined on y edges

  • ‘Ez’, ‘edges_z’ -> z-component of field defined on z edges

  • ‘Fx’, ‘faces_x’ -> x-component of field defined on x faces

  • ‘Fy’, ‘faces_y’ -> y-component of field defined on y faces

  • ‘Fz’, ‘faces_z’ -> z-component of field defined on z faces

  • ‘N’, ‘nodes’ -> scalar field defined on nodes

  • ‘CC’, ‘cell_centers’ -> scalar field defined on cell centers

  • ‘CCVx’, ‘cell_centers_x’ -> x-component of vector field defined on cell centers

  • ‘CCVy’, ‘cell_centers_y’ -> y-component of vector field defined on cell centers

  • ‘CCVz’, ‘cell_centers_z’ -> z-component of vector field defined on cell centers

Returns:
scipy.sparse.csr_matrix

P, the interpolation matrix