VolMesh3gs.cell_attribute
- VolMesh3gs.cell_attribute(cell, name, value=None)
Get or set an attribute of a cell.
- Parameters
cell (int) – The cell identifier.
name (str) – The name of the attribute.
value (obj, optional) – The value of the attribute.
- Returns
object or None – The value of the attribute, or
None
when the function is used as a “setter”.- Raises
KeyError – If the cell does not exist.