On Thu, Oct 20, 2011 at 3:15 PM, Klaij, Christiaan <span dir="ltr">&lt;<a href="mailto:C.Klaij@marin.nl">C.Klaij@marin.nl</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;">
Thanks for all the answers!<br>
<br>
First, I would like to see something printed to stdout, right now I don&#39;t.<br>
Assuming my KSPMonitorSet call is correct, could it be that I don&#39;t<br>
see anything because I&#39;m using FGMRES? Should I get a warning<br>
when using this monitor with any other KSP beside CG and GMRES?<br></blockquote><div><br></div><div>If you just want to see the monitor, why not use the command line or PetscOptionsSetValue()?</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;">
Second, I have a case where FGMRES stagnates with my custom<br>
PC. I would like to get an impression of the extreme eigenvalues after<br>
applying the PC. If the estimates are only trustworthy upon<br>
convergence, then it&#39;s useless of course...<br>
<br>
The setting is Navier-Stokes, colocated FVM, matrix-free Krylov-Picard<br>
with SIMPLE preconditioning. It works for most case but stagnates<br>
for this particular case although SIMPLE as solver does converge nicely.<br>
<br>
<br>
dr. ir. Christiaan Klaij<br>
CFD Researcher<br>
Research &amp; Development<br>
E mailto:<a href="mailto:C.Klaij@marin.nl">C.Klaij@marin.nl</a><br>
T <a href="tel:%2B31%20317%2049%2033%2044" value="+31317493344">+31 317 49 33 44</a><br>
<br>
MARIN<br>
2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands<br>
T <a href="tel:%2B31%20317%2049%2039%2011" value="+31317493911">+31 317 49 39 11</a>, F <a href="tel:%2B31%20317%2049%2032%2045" value="+31317493245">+31 317 49 32 45</a>, I <a href="http://www.marin.nl" target="_blank">www.marin.nl</a><br>

<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <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>