[petsc-users] KSP Tolerances for SNES

Dharmendar Reddy dharmareddy84 at gmail.com
Mon Jan 20 15:58:16 CST 2014

        I want to set KSP Tolerances for an SNES solver for F(X) = 0

as absTolKSP = maxval ( norm2F, absTolF_SNES)

I am doing the above step based on Corollary 4 in the paper

Since norm2(F) chnages as the simulation progress, how to change the
tolerence for the ksp ?

I am trying via KSPConvergenceTest by doing the following calls inside
the test funciton

 call KSPSetTolerances
 call KSPDefaultConverged

now for the second call i need to pass KSPDefaultConvergedCtx , how do
i do this from Fortran ?


More information about the petsc-users mailing list