pyvista.OpenFOAMReader.patch_array_status#
- OpenFOAMReader.patch_array_status(name)[source]#
Return status of reading patch array.
- Parameters:
- name
str
Which patch array to report status.
- name
- Returns:
- bool
Whether the patch with the given name is to be read.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_cavity(load=False) >>> reader = pv.OpenFOAMReader(filename) >>> reader.enable_patch_array('patch/movingWall') >>> reader.patch_array_status('patch/movingWall') True