<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 15, 2015 at 11:14 PM, Adrian Croucher <span dir="ltr"><<a href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
hi<br>
<br>
<div>On 16/10/15 16:54, Matthew Knepley
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><br>
<div>No, that should work. This is how we do it in PyLith.
There must be some setup problem. When you look at the
HDF5 file. Does</div>
<div>it have a dimension for timestep?</div>
</div>
</div>
</div>
</blockquote>
<br>
No, it doesn't.<br>
<br>
Is there any extra setup I might need to do to get it to work? I've
attached a minimal example code, mesh and output.<br></div></blockquote><div><br></div><div>Now I remember. I did not want the output to depend on the viewer.</div><div><br></div><div>Does your example work if you replace PetscViewerHDF5SetTimestep() with DMSetOutputSequenceNumber()?</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
Cheers, Adrian<span class="HOEnZb"><font color="#888888"><br>
<pre cols="72">--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a>
tel: +64 (0)9 923 84611
</pre>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>