pyvista.XdmfReader#
- class XdmfReader(*args, **kwargs)[source]#
XdmfReader for .xdmf files.
- Parameters:
- path
str
Path of the XDMF file to read.
- path
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_meshio_xdmf(load=False) >>> reader = pv.get_reader(filename) >>> filename.split('/')[-1] # omit the path 'out.xdmf' >>> mesh = reader.read() >>> mesh.plot()
Methods
XdmfReader.set_active_time_point
(time_point)Set active time or iteration by index.
XdmfReader.set_active_time_value
(time_value)Set active time or iteration value.
XdmfReader.time_point_value
(time_point)Value of time point or iteration by index.
Attributes
Active time or iteration value.
Return the number of grids that can be read by the reader.
Return number of time points or iterations available to read.
All time or iteration values.