HalfFace.cells

HalfFace.cells(data=False)[source]

Iterate over the cells of the volmesh.

Parameters

data (bool, optional) – If True, yield the cell attributes in addition to the cell identifiers.

Yields

int | tuple[int, dict[str, Any]] – If data is False, the next cell identifier. If data is True, the next cell as a (cell, attr) tuple.