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 isTrue.- Returns:
- bool
If
True, distribute each block in each zone across ranks.
Examples#
Download Python source code | Download Jupyter notebook
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