simpeg.flow.richards.receivers.Pressure.getSpatialP#
- Pressure.getSpatialP(mesh, projected_grid='CC')[source]#
Returns the spatial projection matrix from mesh to receivers.
- Parameters:
- mesh
discretize.BaseMesh
A
discretize
mesh; i.e.TensorMesh
,CylindricalMesh
,TreeMesh
- projected_grid
- mesh
- Returns:
scipy.sparse.csr_matrix
The projection matrix from the mesh (one of cell centers, nodes, edges, etc…) to the receivers. The returned quantity is not stored in memory. Instead, it is created on demand when needed.