[petsc-users] 2-stage preconditioner

Qin Lu lu_qin_2000 at yahoo.com
Tue Apr 22 09:43:24 CDT 2014


Hello,
 
I need to implement a 2-stage preconditioner using PETSc linear solver:
 
1. The first stage uses a user-provided preconditioner routine. It seems I can set it with PCShellSetApply.
2. The second stage uses PETSc's ILU.
 
Shall I just call this two preconditioners in sequence, or there is a particular way to hook them up? Is there any sample code for this?
 
Many thanks for your suggestions.
 
Best Regards, 
Qin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140422/e6b64ccf/attachment-0001.html>


More information about the petsc-users mailing list