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
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview