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 <[email protected]>: > > 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
