BaseVolMesh.cells

BaseVolMesh.cells(data=False)

Iterate over the cells of the volmesh.

Parameters

data (bool, optional) – Return the cell data as well as the cell keys.

Yields

int or tuple – The next cell identifier, if data is False. The next cell as a (cell, attr) tuple, if data is True.