[petsc-users] Stopping TS in PostStep

Patrick Sanan patrick.sanan at gmail.com
Tue Jan 7 05:41:35 CST 2020


I think the standard approach is

https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetConvergedReason.html <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/284577a1/attachment.html>


More information about the petsc-users mailing list