download_meshio_xdmf

download_meshio_xdmf#

download_meshio_xdmf(load: bool = True) MultiBlock | str[source]#

Download xdmf file created by meshio.

The dataset was created by test_time_series test function in meshio.

Note

load=False returns only the file which is read directly, not the other files downloaded alongside it. This is a legacy quirk of the load argument. For every file belonging to this example, use examples.get_example('meshio_xdmf').paths.

Parameters:
loadbool, default: True

Load the dataset after downloading it when True. Set this to False and only the filename will be returned.

Returns:
outputpyvista.UnstructuredGrid or str

DataSet or filename depending on load.

Examples#

Download Python source code | Download Jupyter notebook

>>> from pyvista import examples
>>> dataset = examples.download_meshio_xdmf()
>>> dataset.plot()
../../../_images/pyvista-examples-downloads-download_meshio_xdmf-871cc06e34b2a27e_00_00.png

See Also#

Meshio Xdmf Dataset

See this dataset in the Dataset Gallery for more info.