Thank you, Dave. I am wondering whether this function is ok to external packages, such as Hypre? thanks a lot.<br><br>Regards,<br>Yujie<br><br><div><span class="gmail_quote">On 4/28/08, <b class="gmail_sendername">Dave May</b> <<a href="mailto:dave.mayhem23@gmail.com">dave.mayhem23@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Hi,<br> You can use PetscErrorCode PCComputeExplicitOperator(PC pc,Mat *mat)<br><br>See,<br><a href="http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCComputeExplicitOperator.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www-unix.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-current/docs/manualpages/PC/PCComputeExplicitOperator.html</a><div>
<span class="e" id="q_1199410506f782b8_1"><br><br><br><br><div class="gmail_quote">On Mon, Apr 28, 2008 at 8:19 AM, Yujie <<a href="mailto:recrusader@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">recrusader@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex"> Hi, everyone<br>
<br>How to get the matrix "M_{L}^{-1}" in "M_{L}^{-1}Ax=M_{L}^{-1}b". I have checked the function "PCGetOperators()". It only gets the matrix "pmat" used to obtain the preconditioning matrix. thanks a lot.<br>
<br>Regards,<br><font color="#888888"> Yujie<br><br><br><br></font></blockquote></div><br></span></div></blockquote></div><br>