<div class="gmail_quote">On Tue, Nov 22, 2011 at 07:53, Benjamin Sanderse <span dir="ltr">&lt;<a href="mailto:B.Sanderse@cwi.nl">B.Sanderse@cwi.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Tecplot is able to read HDF5 files according to the possible types listed in its dataloader, so that seems like an interesting option.</div></blockquote><div><br></div><div>You will have to find their documentation of how to write the HDF5 file or how to specify what is in the file (XDMF is one way).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"> But where do I find Petsc documentation on writing HDF5 files? Is this in the development version?</div>
</blockquote><div><br></div><div><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Viewer/PetscViewerHDF5Open.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Viewer/PetscViewerHDF5Open.html</a></div>
<div><br></div><div>More generally, and for anything, it&#39;s often useful to search this page: <a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/singleindex.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/singleindex.html</a>)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div>By the way, I am using structured Cartesian grids, and all operations such as interpolation and differentiation are carried out as matrix-vector products, which also include boundary conditions. I am not using DAs at the moment, would it be better to use those?</div>
</div></blockquote></div><div><br></div><div>Defining derivatives this way is often complicated at boundary conditions, but whatever works for you. Using DMDA allows PETSc viewers to put more semantic information into the file.</div>