Re: [petsc-users] GMRES for outer solver

2022-04-30 Thread Amneet Bhalla
How about using a fixed number of Richardson iterations as a Krylov preconditioner to a GMRES solver? Would that lead to a linear operation? On Sat, Apr 30, 2022 at 8:21 PM Jed Brown wrote: > In general, no. A fixed number of Krylov iterations (CG, GMRES, etc.) is a > nonlinear operation. > > A

Re: [petsc-users] GMRES for outer solver

2022-04-30 Thread Jed Brown
In general, no. A fixed number of Krylov iterations (CG, GMRES, etc.) is a nonlinear operation. A fixed number of iterations of a method with a fixed polynomial, such as Chebyshev, is a linear operation so you don't need a flexible outer method. Ramakrishnan Thirumalaisamy writes: > Hi, > >

[petsc-users] GMRES for outer solver

2022-04-30 Thread Ramakrishnan Thirumalaisamy
Hi, I have a Krylov solver with a preconditioner that is also a Krylov solver. I know I can use "fgmres" for the outer solver but can I use gmres for the outer solver with a fixed number of iterations in the Krylov preconditioners? Thanks, Rama