[petsc-users] TS_SUNDIALS/TS_PSEUDO overshoots the final time

Jed Brown jed at jedbrown.org
Fri Oct 31 16:13:09 CDT 2014


Gautam Bisht <gbisht at lbl.gov> writes:

> Hi Jed,
>
>
> On Thu, Oct 30, 2014 at 9:22 PM, Jed Brown <jed at jedbrown.org> wrote:
>
>> Gautam Bisht <gbisht at lbl.gov> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141031/7fbfd57d/attachment.pgp>


More information about the petsc-users mailing list