simpeg.electromagnetics.static.resistivity.receivers.Pole.getP#
- Pole.getP(mesh, projected_grid)[source]#
Get projection matrix from mesh to receivers
- Parameters:
- mesh
discretize.base.BaseMesh
The mesh on which the discrete set of equations is solved
- projected_grid
str
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
- mesh
- Returns:
scipy.sparse.csr_matrix
P, the interpolation matrix