discretize.base.BaseTensorMesh.nodes_x#

property BaseTensorMesh.nodes_x#

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

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

Returns:
(n_nodes_x) numpy.ndarray of float

A 1D array containing the x-coordinates of the nodes along the x-direction.