discretize.base.BaseTensorMesh.cell_centers_y#

property BaseTensorMesh.cell_centers_y#

Return y-coordinates of the cell centers along the y-direction.

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

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

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