[petsc-users] Stopping TS in PostStep

Mark Adams mfadams at lbl.gov
Tue Jan 7 06:54:27 CST 2020


Yep, thanks,

On Tue, Jan 7, 2020 at 6:41 AM Patrick Sanan <patrick.sanan at gmail.com>
wrote:

> I think the standard approach is
>
>
> https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetConvergedReason.html
>
> with
>
>
> https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TS_CONVERGED_USER.html
> <https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TS_CONVERGED_USER.html#TS_CONVERGED_USER>
>
>
> Am 07.01.2020 um 12:31 schrieb Mark Adams <mfadams at lbl.gov>:
>
> I have a test in a PostStep function in TS and I would like to terminate,
> with success, when my test is satisfied. What is the best way to do that?
> Thanks,
> Mark
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200107/6d2223cb/attachment.html>


More information about the petsc-users mailing list