You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The XML schema produced by the program indicates that data should be read from the xdmf2d.h5 file. The mesh is 2DSmesh indicating that the mesh is 2D and structured. The mesh coordinates use the X_Y syntax, which indicates that each coordinate field is stored in a different HDF5 array. The Attribute tags in the XML specify both of the fields that are defined on the mesh. Note that the order of the coordinates when using HDF5 and the XML file is: Z, Y, X (with Z being optional).
Another important point is that you should take care to specify the number of nodes for most dimensions of the mesh. The number of cells only seems important for specifying the dimensions of cell-centered variables. The (NX+1) in the above source code example program means the number of nodes in X since NX is the number of cells in X. Thus (NX+1) is used to write any node-sized value (with respect to X) to the XML file.
The XML schema
The XML schema produced by the program indicates that data should be read from the xdmf2d.h5 file. The mesh is 2DSmesh indicating that the mesh is 2D and structured. The mesh coordinates use the X_Y syntax, which indicates that each coordinate field is stored in a different HDF5 array. The Attribute tags in the XML specify both of the fields that are defined on the mesh. Note that the order of the coordinates when using HDF5 and the XML file is: Z, Y, X (with Z being optional).
Another important point is that you should take care to specify the number of nodes for most dimensions of the mesh. The number of cells only seems important for specifying the dimensions of cell-centered variables. The (NX+1) in the above source code example program means the number of nodes in X since NX is the number of cells in X. Thus (NX+1) is used to write any node-sized value (with respect to X) to the XML file.
Source: http://visitusers.org/index.php?title=Using_XDMF_to_read_HDF5
The text was updated successfully, but these errors were encountered: