[petsc-users] Implement new Krylov method within PETSc
Barry Smith
bsmith at mcs.anl.gov
Sun Dec 14 14:38:14 CST 2014
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 <domenico_lahaye at yahoo.com> 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.
>
>
More information about the petsc-users
mailing list