On Tue, Apr 5, 2011 at 9:52 PM, Ryan Yan <vyan2000 at gmail.com> wrote:
> Hi, > I am wondering is there a way of checking the residual of a direct solver. > It should > be one shot and very small. I tried -ksp_monitor_true_residual, but no > thing shows up. I guess a piece of code > $Ax-b$ will do the trick? > If you use it through KSPSolve, then -ksp_monitor will give you the residual. Matt > Thanks, > > Yan > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110405/a381df40/attachment.htm>
