pyvista.OpenFOAMReader.decompose_polyhedra#
- property OpenFOAMReader.decompose_polyhedra[source]#
Whether polyhedra are to be decomposed when read.
- Returns:
- bool
If
True
, decompose polyhedra into tetrahedra and pyramids.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_cavity(load=False) >>> reader = pv.OpenFOAMReader(filename) >>> reader.decompose_polyhedra = False >>> reader.decompose_polyhedra False