On Tue, Apr 5, 2011 at 9:52 PM, Ryan Yan <span dir="ltr">&lt;<a href="mailto:vyan2000@gmail.com">vyan2000@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, <br>I am wondering is there a way of checking the residual of a direct solver. It should <br>be one shot and very small.  I tried -ksp_monitor_true_residual, but no thing shows up. I guess a piece of code <br>$Ax-b$ will do the trick?<br>
</blockquote><div><br></div><div>If you use it through KSPSolve, then -ksp_monitor will give you the residual.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thanks,<br><font color="#888888"><br>Yan<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>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<br>