pyvista.OpenFOAMReader.cell_to_point_creation

pyvista.OpenFOAMReader.cell_to_point_creation#

property OpenFOAMReader.cell_to_point_creation[source]#

Whether cell data is translated to point data when read.

Returns:
bool

If True, translate cell data to point data.

Warning

When True, cell and point data arrays will have duplicate names.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pv.OpenFOAMReader(filename)
>>> reader.cell_to_point_creation = False
>>> reader.cell_to_point_creation
False