discretize.TreeMesh.face_areas#
- TreeMesh.face_areas#
Returns the areas of all cell faces.
Calling this property will compute and return the areas of all mesh faces as a 1D numpy array.
- Returns:
- (
n_faces
)numpy.ndarray
The length of the quantity returned depends on the dimensions of the mesh:
2D: returns the x-face and y-face areas; i.e. y-edge and x-edge lengths, respectively
3D: returns the x, y and z-face areas in order
- (