[petsc-users] Implement new Krylov method within PETSc

domenico lahaye domenico_lahaye at yahoo.com
Sun Dec 14 14:52:20 CST 2014


 Thanks. Domenico. 

      From: Barry Smith <bsmith at mcs.anl.gov>
 To: domenico lahaye <domenico_lahaye at yahoo.com> 
Cc: Petsc-users List <petsc-users at mcs.anl.gov> 
 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 <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. 
>  
> 


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141214/7cc8d9f0/attachment.html>


More information about the petsc-users mailing list