[petsc-users] Initial guess for the GMRES solver in PETSC

Aron Ahmadia aron.ahmadia at kaust.edu.sa
Fri Nov 5 01:11:25 CDT 2010


Hi Jinshan,

You can pass your initial guess in to the KSP object as X, then at the
command line set the flag:

-ksp_initial_guess_nonzero

Happy Computing,
Aron

On Fri, Nov 5, 2010 at 8:41 AM, jinshan wu <wujinshan at yahoo.com> wrote:
> Hi all,
>
> I am using the GMRES linear solver in PETSC. I have a very good initial guess of
> the true solution. Can I somehow supply it to the solver? It should help the
> solver speed up the convergence if I can do that. Thanks.
>
> Jinshan
>
>
>
>


More information about the petsc-users mailing list