discretize.TensorMesh.face_x_areas#

property TensorMesh.face_x_areas#

Return the areas of the x-faces.

Calling this property will compute and return the areas of faces whose normal vector is along the x-axis.

Returns:
(n_faces_x) numpy.ndarray

The quantity returned depends on the dimensions of the mesh:

  • 1D: Numpy array of ones whose length is equal to the number of nodes

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

  • 3D: Areas of x-faces