<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I think the standard approach is</div><div class=""><br class=""></div><a href="https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetConvergedReason.html" class="">https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSSetConvergedReason.html</a><div class=""><br class=""></div><div class="">with</div><div class=""><br class=""></div><div class=""><a href="https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TS_CONVERGED_USER.html#TS_CONVERGED_USER" class="">https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TS_CONVERGED_USER.html</a></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 07.01.2020 um 12:31 schrieb Mark Adams <<a href="mailto:mfadams@lbl.gov" class="">mfadams@lbl.gov</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">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?<div class="">Thanks,</div><div class="">Mark</div></div>
</div></blockquote></div><br class=""></div></body></html>