distribute_blocks#

property CGNSReader.distribute_blocks: bool#

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
>>> from pyvista import examples
>>> filename = examples.download_cgns_multi(load=False)
>>> reader = pyvista.CGNSReader(filename)
>>> reader.distribute_blocks = False
>>> reader.distribute_blocks
False