[petsc-users] Help with KSPSetConvergenceTest

Matthew Knepley knepley at gmail.com
Sun May 7 08:51:05 CDT 2023


On Sun, May 7, 2023 at 9:42 AM Edoardo alinovi <edoardo.alinovi at gmail.com>
wrote:

> Hi Matt,
>
> mmmmh, what if I do:
>
> KSPConvergedDefault(ksp, n, rnorm, flag, PETSC_NULL_FUNCTION, ierr)
>
> That looks to behave OK, but I am not sure about what I am doing -.-
>

You are saying that no convergence context was passed in

  THanks

    Matt


> Cheers
>
>

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230507/8b3fa30f/attachment-0001.html>


More information about the petsc-users mailing list