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()
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. |
Inherited Attributes#
Return the status of all cell arrays. |
|
Return the status of all point arrays. |
|
Return the list of all cell array names. |
|
Return mapping from regex pattern matching associated with this class. |
|
Return the file extensions associated with this class. |
|
Return the number of cell arrays. |
|
Return the number of point arrays. |
|
Return or set the filename or directory of the reader. |
|
Return the list of all point array names. |
|
Return the vtk Reader object. |
Methods#
|
Set active time or iteration by index. |
|
Set active time or iteration value. |
|
Value of time point or iteration by index. |
Inherited Methods#
Get status of cell array with name. |
|
Disable all cell arrays. |
|
Disable all point arrays. |
|
Disable cell array with name. |
|
Disable point array with name. |
|
Enable all cell arrays. |
|
Enable all point arrays. |
|
Enable cell array with name. |
|
Enable point array with name. |
|
Hide the progress bar when loading the file. |
|
Get status of point array with name. |
|
Read data in file. |
|
Show a progress bar when loading the file. |