Thanks. Domenico.
From: Barry Smith <[email protected]>
To: domenico lahaye <[email protected]>
Cc: Petsc-users List <[email protected]>
Sent: Sunday, December 14, 2014 9:38 PM
Subject: Re: [petsc-users] Implement new Krylov method within PETSc
Domenico,
Please take a look at src/ksp/ksp/impls/cg/cg.c it contains comments at the
top and in within the file on how one can copy the cg implementation and
organize it for another Krylov method.
Barry
src/ksp/pc/impls/jacobi.c does a similar thing for preconditioners
> On Dec 14, 2014, at 1:53 PM, domenico lahaye <[email protected]>
> wrote:
>
> Dear PETSc developers,
>
> Could you pls. formulate guidelines on how to implement
> a new (to PETSc) Krylov subspace method (such as e.g. SQMR
> or IDR) in PETSc or refer me to such guidelines?
>
> Thanks, Domenico.
>
>