discretize.TreeMesh.average_node_to_edge_y#
- TreeMesh.average_node_to_edge_y#
Averaging operator from nodes to y edges (scalar quantities).
This property constructs a 2nd order averaging operator that maps scalar quantities from nodes to edges. This averaging operator is used when a discrete scalar quantity defined on mesh nodes must be projected to edges.
- Returns:
- (
n_edges_y
,n_nodes
)scipy.sparse.csr_matrix
The scalar averaging operator from nodes to edges
- (