decompose_polyhedra#

property OpenFOAMReader.decompose_polyhedra#

Whether polyhedra are to be decomposed when read.

Returns
bool

If True, decompose polyhedra into tetrahedra and pyramids.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pyvista.OpenFOAMReader(filename)
>>> reader.decompose_polyhedra = False
>>> reader.decompose_polyhedra
False