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
orCylindricalMesh
, this is equivalent to the cell center positions which define the tensor along the y-axis. For instances ofTreeMesh
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
orNone
A 1D array containing the y-coordinates of the cell centers along the y-direction. Returns None for 1D meshes.
- (