[Paraview] Descripe H5T_ARRAY or H5T_COMPOUND with xdmf

René Widera psychocoder at web.de
Sat Oct 1 06:06:40 EDT 2011


HI,

I would descripe a h5 file with a array of compound types or array of 
array[3].
h5dump -H h5array_0_0_0.h5 create the follow output:

          DATASET "e_global_cell_pos" {
             DATATYPE  H5T_ARRAY { [3] H5T_STD_I32LE }
             DATASPACE  SIMPLE { ( 434176 ) / ( 434176 ) }
          }
          DATASET "e_momentum" {
             DATATYPE  H5T_COMPOUND {
                H5T_IEEE_F32LE "x";
                H5T_IEEE_F32LE "y";
                H5T_IEEE_F32LE "z";
             }
             DATASPACE  SIMPLE { ( 434176 ) / ( 434176 ) }
          }

I search for a way to descripe with xdmf to read in e_momentum or 
e_global_cell_pos.
I have test:

<Grid Name="Domain 1x1x1">
<Topology TopologyType="Polyvertex" NumberOfElements = "434176">
</Topology>
<Geometry GeometryType="XYZ">
<DataItem  Dimensions="434176"  NumberType="Int" Precision="4" 
Format="HDF5">
                                h5array_0_0_0.h5:/data/0/e_global_cell_pos
</DataItem>
</Geometry>
</Grid>

and

<Grid Name="Domain 1x1x1">
<Topology TopologyType="Polyvertex"  NumberOfElements = "434176">
</Topology>
<Geometry GeometryType="XYZ">
<DataItem  Dimensions="434176 3"  NumberType="Int" Precision="4" 
Format="HDF5">
                                h5array_0_0_0.h5:/data/0/e_global_cell_pos
</DataItem>
</Geometry>
</Grid>

and many more but nothing work.

thanks for help


More information about the ParaView mailing list