discretize.TensorMesh.edges

property TensorMesh.edges

Gridded edge locations

This property returns a numpy array of shape (n_edges, dim) containing gridded locations for all edges in the mesh. The first row corresponds to the bottom-front-leftmost x-edge. The output array returns the x-edges, then the y-edges, then the z-edges; i.e. mesh.edges is equivalent to np.r_[mesh.edges_x, mesh.edges_y, mesh.edges_z] . For each edge type, the locations are ordered along the x, then y, then z directions.

Returns
(n_edges, dim) numpy.ndarray of float

Gridded edge locations