<div class="gmail_quote">On Sat, Dec 3, 2011 at 14:22, Tim Gallagher <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu">tim.gallagher@gatech.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="font-family:Times New Roman;font-size:12pt;color:#000000">You do need HDF5 to store "heavy" data, but XDMF can also store data in the XML file as "light" data for small datasets. <br></div>
</blockquote><div><br></div><div>I see no point to this because then you can't write the file incrementally. You can't write incrementally with binary-appended VTK-XML either, but at least you can use binary IO.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="font-family:Times New Roman;font-size:12pt;color:#000000"><br>Inclusion in PETSc could go two ways -- the first would be using the XDMF library which handles reading/writing both light and heavy data. Or, the XDMF viewer can be built on top of the HDF5 viewer already there. In that case, the heavy data will be written using the HDF5 viewer and then there would be code to write the XML data in the XDMF format. This is the approach we use in our code -- we write the HDF5 files using the HDF5 API, then write with standard IO the XML file. </div>
</blockquote></div><br>