discretize.TensorMesh.nodes_z#
- property TensorMesh.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
orCylindricalMesh
, this is equivalent to the node positions which define the tensor along the z-axis. For instances ofTreeMesh
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
orNone
A 1D array containing the z-coordinates of the nodes along the z-direction. Returns None for 1D and 2D meshes.
- (