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
discretizemesh; i.e.TensorMesh,CylindricalMesh,TreeMesh- projected_grid
- mesh
- Returns:
scipy.sparse.csr_matrixThe 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.