pyvista.CGNSReader.distribute_blocks#

property CGNSReader.distribute_blocks: bool[source]#

Distribute each block in each zone across ranks.

To make the reader disregard the piece request and read all blocks in the zone, set this to False. The default is True.

Returns:
bool

If True, distribute each block in each zone across ranks.

Examples

Disable distributing blocks.

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