discretize.TensorMesh.cell_volumes#
- property TensorMesh.cell_volumes#
Return cell volumes.
Calling this property will compute and return a 1D array containing the volumes of mesh cells.
- Returns:
- (
n_cells
)numpy.ndarray
The quantity returned depends on the dimensions of the mesh:
1D: Returns the cell widths
2D: Returns the cell areas
3D: Returns the cell volumes
- (