[Paraview] Does XDMF support wildcards?
Renato N. Elias
rnelias at nacad.ufrj.br
Tue Jun 17 23:58:06 EDT 2008
Hi folks,
Does anybody know if XDMF support wildcards? My intention is do
something like:
<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf xmlns:xi="http://www.w3.org/2001/XInclude" Version="2.0">
<Domain>
<Grid GridType="Collection" CollectionType="Temporal">
<Grid Name="Test mesh" Type="Uniform">
<Time TimeType="List">
<DataItem Format="XML" NumberType="Float" Dimensions="7">
0.0 0.1 0.5 1.0 1.1 10.0 100.5
</DataItem>
</Time>
<Topology Type="Tetrahedron" NumberOfElements=" 108104 "
BaseOffset="1">
<DataItem Dimensions="432416" NumberType="Int"
Format="HDF">foo_[**].h5:/incid</DataItem>
</Topology>
<Geometry Type="XYZ">
<DataItem Dimensions="61767" NumberType="Float"
Precision="8" Format="HDF">foo_[**].h5:/coords</DataItem>
</Geometry>
</Grid>
</Grid>
</Domain>
</Xdmf>
The block above would load 7 files (corresponding to the time values
listed) with name pattern foo_[**].h5, where [**] is the wildcard
representing the file numbers (00, 01, 02, 03, 04, 05, 06). It's
comparable with what Ensight case files use to represent name patterns.
Maybe it could be done using functions, but I can't figure out how it's
used with grids.
Renato.
More information about the ParaView
mailing list