discretize.base.BaseTensorMesh.nodes_y#

property BaseTensorMesh.nodes_y#

Return y-coordinates of the nodes along the y-direction.

For 2D and 3D meshes, this property returns a vector containing the y-coordinate values of the nodes along the y-direction. For instances of TensorMesh or CylindricalMesh, this is equivalent to the node positions which define the tensor along the y-axis. For instances of TreeMesh however, this property returns the y-coordinate values of the nodes along the y-direction for the underlying tensor mesh.

Returns:
(n_nodes_y) numpy.ndarray of float or None

A 1D array containing the y-coordinates of the nodes along the y-direction. Returns None for 1D meshes.