<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div>Hello,</div><div> </div><div>I need to implement a 2-stage preconditioner using PETSc linear solver:</div><div> </div><div>1. The first stage uses a user-provided preconditioner routine. It seems I can set it with PCShellSetApply.</div><div>2. The second stage uses PETSc's ILU.</div><div> </div><div>Shall I just call this two preconditioners in sequence, or there is a <span id="misspell-7"><span>particular</span></span> way to hook them up? Is there any sample code for this?</div><div> </div><div>Many thanks for your suggestions.</div><div> </div><div>Best Regards, </div><div>Qin</div></div></body></html>