[petsc-users] TSMonitor: TSConvergedReason

Smith, Barry F. bsmith at mcs.anl.gov
Tue May 1 13:20:12 CDT 2018


TSSetPreStep()


> On May 1, 2018, at 11:41 AM, Mohammad Hassan Baghaei <mhbaghaei at mail.sjtu.edu.cn> wrote:
> 
> Hello
> Using the TSMonitorSet , I am trying to monitor the time-stepping solver.  I use the TSSetConvergedReason() to set a limit on norm error. I found that even though the error is below the limit at the current step, the solver continues to solve that step. Then, in the next step, it will be converged. I want to know whether there is a way to monitor the solver before the stepping. Sorry if my explanation is not clear. I would inform you, if need more information. Thanks for your time considering.
> Amir 



More information about the petsc-users mailing list