[petsc-users] Force SNES diverge

Karol Lewandowski inz.karolewandowski at gmail.com
Mon Nov 5 07:40:14 CST 2018


Hi,

I am solving a highly nonlinear problem using SNES solver. Under certain conditions during the iterations I already know that the step will diverge (in the next few iterations). Is there a clever way to tell SNES to diverge immediately so I can start a new step with reduced step size? 

Thank you,

Karol 


More information about the petsc-users mailing list