[Paraview] [xdmf] read in H5T_COMPOUND

Cyril Flaig cflaig at inf.ethz.ch
Thu Mar 26 09:07:31 EDT 2009


Hello,

I try to read in hdf5 files with the xdmf reader. The read in of the
mesh works. But I have some problems with the attributes.

I have the following two hdf datasets:

      DATASET "Displacements" {
         DATATYPE  H5T_COMPOUND {
            H5T_STD_I32LE "Node";
            H5T_ARRAY { [3] H5T_IEEE_F64LE } "Ux Uy Uz";
         }
         DATASPACE  SIMPLE { ( 2609611, 1 ) / ( 2609611, 1 ) }
      DATASET "Stress" {
         DATATYPE  H5T_IEEE_F64LEH5T_COMPOUND
         DATASPACE  SIMPLE { ( 1633014, 7 ) / ( 1633014, 7 ) }

How do I read in the three floats from the Displacements. The problem
is, that the floats are in a H5T_COMPOUND.



More information about the ParaView mailing list