XdmfReader#
- class XdmfReader(*args, **kwargs)[source]#
XdmfReader for .xdmf files.
Wraps vtkXdmfReader.
- Parameters:
- path
str Path of the XDMF file to read.
- path
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> from pyvista import examples
>>> from pathlib import Path
>>> filename = examples.download_meshio_xdmf(load=False)
>>> reader = pv.get_reader(filename)
>>> Path(filename).name
'out.xdmf'
>>> mesh = reader.read()
>>> mesh.plot()
Methods#
|
Set active time or iteration by index. |
|
Set active time or iteration value. |
|
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. |