[petsc-users] Change linear solver during SNES iteration

Gong Ding gdiso at ustc.edu
Sat Sep 11 02:00:41 CDT 2010


Hi,
I wonder if it is possible to use different linear solvers as well as PCs
in each SNES iteration. For example, I would like to use MUMPS
in the first nonlinear iteration. And then use the factorized matrix by 
MUMPS as the preconditioner for i.e. BCGS solver in the second iteration. 
Or even i can use direct/iterative solver alternately for nonlinear iterations?

Gong Ding




More information about the petsc-users mailing list