<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Aug 16, 2017 at 10:01 AM, Rachit Prasad <span dir="ltr"><<a href="mailto:rachitp@vt.edu" target="_blank">rachitp@vt.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Due to legacy issues, I am working with tversion 2.3.2 of PETSc in FORTRAN. I want to monitor the true residual and hence I tried to use the function KSPTrueResididual(). However, I am unable to understand what kind of pointer is the last input parameter, "*dummy" supposed to be. I could not find an example on the website since this is an older implementation. Any insight on how to proceed further will be greatly helpful.</div></div></blockquote><div><br></div><div>That is a very long time ago, but I think you can use PETSC_NULL_OBJECT (if it exists). Also</div><div>-ksp_monitor_true_residual may work.<br></div><div><br></div><div> Thanks,</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"><div dir="ltr"><div>Regards,</div><div>Rachit</div><div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><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.caam.rice.edu/~mk51/" target="_blank">http://www.caam.rice.edu/~mk51/</a><br></div></div></div>
</div></div>