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> &lt;<a href="mailto:dave.mayhem23@gmail.com">dave.mayhem23@gmail.com</a>&gt; 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>&nbsp; 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 &lt;<a href="mailto:recrusader@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">recrusader@gmail.com</a>&gt; 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 &quot;M_{L}^{-1}&quot; in &quot;M_{L}^{-1}Ax=M_{L}^{-1}b&quot;. I have checked the function &quot;PCGetOperators()&quot;. It only gets the matrix &quot;pmat&quot; 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>