ForceVolMesh.cell_center

ForceVolMesh.cell_center(cell)

Compute the location of the center of mass of a cell.

Parameters

cell (int) – The identifier of the cell.

Returns

list[float] – The coordinates of the center of mass.