[petsc-users] KSP: when to use initial residual norm (ksp_converged_use_initial_residual_norm)

Daniel.Abele at dlr.de Daniel.Abele at dlr.de
Sun Feb 2 12:09:17 CST 2025


Hi,
we are solving a time dependent problem with a single KSP in every time step. We are debating which convergence criterion to use. Is there general guidance around when to use one of the norms with initial residual (ksp_converged_use_initial_residual_norm or ksp_converged_use_min_initial_residual_norm) over the default norm? If I understand the formulas correctly, the initial residual norm "norm(b - A * x0)" (maybe add preconditioning) means that if you have a very good initial guess (as is often the case in time dependent problems if you can use the result if the last time step as initial guess), the norm is much stricter than the default norm "norm(b)". Is this meant as a way to control error accumulation over time? Or does it have some other purpose?
Thanks and Regards,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250202/8e82f880/attachment.html>


More information about the petsc-users mailing list