discretize.CylindricalMesh.project_face_to_boundary_face#
- property CylindricalMesh.project_face_to_boundary_face#
Projection matrix from all faces to boundary faces.
Constructs and returns a matrix
that projects from all mesh faces to boundary faces. That is, for a discrete vector that lives on the faces, the values on the boundary faces can be extracted via the following matrix-vector product:ub = P @ u
- Returns:
scipy.sparse.csr_matrix
(n_boundary_faces, n_faces) Projection matrix with shape