/XDMFWrite_h5py

XDMF meets h5py: Write XDMF files to interpret HDF5 files

Primary LanguagePythonMIT LicenseMIT

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.