BaseVolMesh.cell_center
-
BaseVolMesh.
cell_center
(cell)[source] Compute the location of the center of mass of a cell.
- Parameters
cell (hashable) – The identifier of the cell.
- Returns
list – The coordinates of the center of mass.
BaseVolMesh.
cell_center
(cell)[source]Compute the location of the center of mass of a cell.
cell (hashable) – The identifier of the cell.
list – The coordinates of the center of mass.