hi
When I read the HDF5 file back in again using PetscViewerHDF5Open() and
VecLoad(), is there any easy way to navigate to the last time step in
the results?
Or, equivalently, to find how many timesteps there are in there, so I
could then use PetscViewerHDF5SetTimestep() before doing VecLoad() ?
Cheers, Adrian
On 17/10/15 03:01, Matthew Knepley wrote:
Now I remember. I did not want the output to depend on the viewer.
Does your example work if you replace PetscViewerHDF5SetTimestep()
with DMSetOutputSequenceNumber()?
Thanks,
Matt
--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: [email protected]
tel: +64 (0)9 923 84611