<div dir="ltr"><div dir="ltr">On Fri, Nov 11, 2022 at 5:57 PM Alexander Lindsay <<a href="mailto:alexlindsay239@gmail.com">alexlindsay239@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Under what conditions can I use LSC preconditioning for field split problems with Schur? Let's imagine that all I've done is called SNESetJacobian with global A and P and provided the index sets for 0 and 1. Based off of the documentation on the man page <a href="https://petsc.org/release/docs/manualpages/PC/PCLSC/" target="_blank">https://petsc.org/release/docs/manualpages/PC/PCLSC/</a> it seems like I'd have to do something more programmatically, e.g.</div><div><br></div><div>   PetscObjectCompose((PetscObject)Sp,"LSC_L",(PetscObject)L);<br>   PetscObjectCompose((PetscObject)Sp,"LSC_Lp",(PetscObject)Lp);</div><div><br></div><div>If I try to naively get LSC preconditioning from the command line without doing something like the above, then I get SUBPC_ERROR. Is this to be expected?</div></div></blockquote><div><br></div><div>Yes. PETSc does not have information about the operators or discretizations, and thus it cannot make auxiliary operators like the pressure Laplacian.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div> 0 Nonlinear |R| = 4.164062e-02<br>      0 Linear |R| = 4.164062e-02<br>  Linear solve did not converge due to DIVERGED_PC_FAILED iterations 0<br>                 PC failed due to SUBPC_ERROR <br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>