discretize.TreeMesh.average_cell_to_total_face_x#

TreeMesh.average_cell_to_total_face_x(self)#

Average matrix for cell center to total (including hanging) x faces.

This property constructs an averaging operator that maps scalar quantities from cell centers to face. This averaging operator is used when a discrete scalar quantity defined cell centers must be projected to faces.

Returns:
(n_total_faces_x, n_cells) scipy.sparse.csr_matrix

The scalar averaging operator from faces to cell centers