<div class="gmail_quote">On Sat, Oct 15, 2011 at 16:24, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Jed just added some VTK output that has appended binary data. I plan to add the strategy we use in</div>
<div>PyLith which is to write an HDF5 file, and then an xdmf file to describe that layout to VTK.</div></blockquote><div><br></div><div> You can -snes_view_solution_vtk foo.vts or -ts_monitor_solution_vtk foo-%03d.vts to get binary output for anything that was based on a DA. Notes:</div>
<div><br></div><div>1. If you set field names with DMDASetFieldName(), those will be present in the VTK file (hence your GUI of choice).</div><div><br></div><div>2. If you name Vecs differently, you can view multiple Vecs to the same file provided they are associated with a DMDA. The variable name will include the Vec name.</div>
<div><br></div><div>3. Time series can't go in the same file because VTK is a lame format.</div><div><br></div><div>4. You can't view multiple Vecs on _different_ DAs because VTK is a lame format.</div><div><br></div>
<div>5. DMComposite can't go in the same file because VTK is a lame format. (It could go to different files, but I haven't written support for this.)</div><div><br></div></div>