Skip to content

tdegeus/XDMFWrite_h5py

Repository files navigation

CI readthedocs

Module to write XDMF files for HDF5 files. For example:

with h5py.File(root.with_suffix(".h5")) as file, xh.Grid(root.with_suffix(".xdmf")) as xdmf:

    xdmf += xh.Unstructured(file["coor"], file["conn"], "Quadrilateral")
    xdmf += xh.Attribute(file["stress"], "Cell")

See Documentation: xdmfwrite-h5py.readthedocs.io for more information and examples.