I/O from XDMF/HDF5 files in dolfin-x

This is because you are writing out a P-2 field on a P-1 grid.
In 0.6.0 XDMFFile implicitly interpolated into P-1.
This has been removed in later versions, and the user has to interpolate the function into an appropriate function space for usage with xdmf (P-1 in your case).

I would have to adapt the source code of adios4dolfinx to work with complex-valued functions. Ive made an issue: Complex valued support · Issue #30 · jorgensd/adios4dolfinx · GitHub

1 Like