Gautam Bisht <[email protected]> writes: > Hi Jed, > > > On Thu, Oct 30, 2014 at 9:22 PM, Jed Brown <[email protected]> wrote: > >> Gautam Bisht <[email protected]> writes: >> >> > All, >> > >> > While running src/ts/examples/tutorials/ex8.c (in PETSc 3.5.1) for TSTYPE >> > sundials and pseudo, I noticed that the solver overshoots the final time. >> >> Is this what you're looking for? >> >> >> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetExactFinalTime.html > > > Yes. But it appears only '-ts_exact_final_time INTERPOLATE' for '-ts_type > sundials' does not overshoot the final time.
TSPSEUDO is not time-accurate anyway so there should be no concept of "final time" other than infinity. I think Sundials does only supports STEPOVER and INTERPOLATE, so MATCHSTEP should probably error instead.
signature.asc
Description: PGP signature
