discretize.TensorMesh.face_y_areas#

property TensorMesh.face_y_areas#

Return the areas of the y-faces.

Calling this property will compute and return the areas of faces whose normal vector is along the y-axis. Note that only 2D and 3D tensor meshes have z-faces.

Returns:
(n_faces_y) numpy.ndarray

The quantity returned depends on the dimensions of the mesh:

  • 1D: N/A since 1D meshes do not have y-faces

  • 2D: Areas of y-faces (equivalent to the lengths of x-edges)

  • 3D: Areas of y-faces