<div dir="ltr"><div dir="ltr">On Wed, May 19, 2021 at 8:36 AM 杨念 <<a href="mailto:yangnian@hnu.edu.cn">yangnian@hnu.edu.cn</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><font><p class="MsoNormal" style="font-size:10.5pt;margin:0pt 0pt 0.0001pt;text-align:justify;font-family:Calibri"><span style="font-family:宋体;font-size:10.5pt">D</span><span style="font-size:10.5pt">ear Sir or Madam:</span><span style="font-size:10.5pt"><u></u><u></u></span></p><p class="MsoNormal" style="font-size:10.5pt;margin:0pt 0pt 0.0001pt;text-align:justify;font-family:Calibri"><span style="font-size:10.5pt"><u></u> <u></u></span></p><p class="MsoNormal" style="margin:0pt 0pt 0.0001pt;text-align:justify;font-family:Calibri;font-size:10.5pt"><span style="font-size:10.5pt">Hello, I am a new PETSc learner. I'm having some problem with it and I'm using version 3.6.3 of PETSc. I can only print out the Jacobi matrix (J) with -mat_view from the command line, but I also need to print out the preconditioning operator (M^(-1)) or the preconditioned matrix (JM^(-1)). Is there a function like that in PETSC? Could you please give me some suggestions? Thank you so much.</span></p></font></div></blockquote><div><br></div><div>I think you want</div><div><br></div><div>  <a href="https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCComputeOperator.html">https://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCComputeOperator.html</a></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><font><p class="MsoNormal" style="margin:0pt 0pt 0.0001pt;text-align:justify;font-family:Calibri;font-size:10.5pt"><span style="font-family:宋体;font-size:10.5pt"> </span></p><p class="MsoNormal" style="font-size:10.5pt;margin:0pt 0pt 0.0001pt;text-align:justify;font-family:Calibri"><span style="font-size:10.5pt">Best regards,</span><span style="font-size:10.5pt"><u></u><u></u></span></p><p class="MsoNormal" style="font-size:10.5pt;margin:0pt 0pt 0.0001pt;text-align:justify;font-family:Calibri"><span style="font-size:10.5pt"><u></u> <u></u></span></p><p class="MsoNormal" style="font-size:10.5pt;margin:0pt 0pt 0.0001pt;text-align:justify;font-family:Calibri"><span style="font-size:10.5pt">Nian Yang</span></p></font></div><div><u></u><u></u></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>