uxarray.core.gradient._calculate_edge_face_difference

uxarray.core.gradient._calculate_edge_face_difference#

uxarray.core.gradient._calculate_edge_face_difference(d_var, edge_faces, n_edge)#

Helper function for computing the aboslute difference between the data values on each face that saddle each edge.

Edges with only a single neighbor will default to a value of zero.