pyvista.CGNSReader.vector_3d

pyvista.CGNSReader.vector_3d#

property CGNSReader.vector_3d: bool[source]#

Return or set adding an empty dimension to vectors in case of 2D solutions.

Examples

Set adding an empty physical dimension to vectors to True.

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_cgns_multi(load=False)
>>> reader = pv.CGNSReader(filename)
>>> reader.vector_3d = True
>>> reader.vector_3d
True