VolMesh.cell_centroid
- VolMesh.cell_centroid(cell)[source]
Compute the location of the centroid of a cell.
- Parameters
cell (int) – The identifier of the cell.
- Returns
list[float] – The coordinates of the centroid.
Compute the location of the centroid of a cell.
cell (int) – The identifier of the cell.
list[float] – The coordinates of the centroid.