discretize.TreeMesh.nodes_z#

property TreeMesh.nodes_z#

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

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

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

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