patch_array_status#

POpenFOAMReader.patch_array_status(name)#

Return status of reading patch array.

Parameters
namestr

Which patch array to report status.

Returns
——-
bool

Whether the patch with the given name is to be read.

Examples

>>> import pyvista
>>> from pyvista import examples
>>> filename = examples.download_cavity(load=False)
>>> reader = pyvista.OpenFOAMReader(filename)
>>> reader.enable_patch_array("patch/movingWall")
>>> reader.patch_array_status("patch/movingWall")
True