[petsc-dev] XDMF viewers

Jed Brown jedbrown at mcs.anl.gov
Sat Dec 3 14:24:47 CST 2011


On Sat, Dec 3, 2011 at 14:22, Tim Gallagher <tim.gallagher at gatech.edu>wrote:

> You do need HDF5 to store "heavy" data, but XDMF can also store data in
> the XML file as "light" data for small datasets.
>

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.


>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111203/be10f17a/attachment.html>


More information about the petsc-dev mailing list