- changed component to io
Can't read second attribute from XDMFFile
Issue #1021
new
I have a XDMFFile created with pygmsh and meshio. It contains the mesh and two attributes, gmsh:geometrical and gmsh:physical. However, DOLFIN can only read the attribute that appears in the xml file first, independent from the position in the hdf file. It should be possible to read in more than one attribute.
Comments (2)
-
-
Yes, see https://gist.github.com/michalhabera/bbe8a17f788192e53fd758a67cbf3bed , line 39 in particular. You have to save just one attribute by stripping "gmsh:geometrical". It can be considered a bug, but it is more an improvement of the current stuffy XDMFFile wrt meshes, mesh functions and mesh value collections.
- Log in to comment