discretize.TensorMesh.face_z_areas

property TensorMesh.face_z_areas

Returns the areas of the z-faces

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

Returns
(n_faces_z) numpy.ndarray

The quantity returned depends on the dimensions of the mesh:

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

  • 2D: N/A since 2D meshes do not have z-faces

  • 3D: Areas of z-faces