<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 28, 2014 at 1:59 PM, Jan Blechta <span dir="ltr"><<a href="mailto:blechta@karlin.mff.cuni.cz" target="_blank">blechta@karlin.mff.cuni.cz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 28 Feb 2014 12:30:05 -0800<br>
Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br>
<br>
> On Fri, Feb 28, 2014 at 12:13 PM, Jan Blechta<br>
> <<a href="mailto:blechta@karlin.mff.cuni.cz">blechta@karlin.mff.cuni.cz</a>>wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > is it possible to check an amount of fill-in produced during<br>
> > factorization with PCLU or PCCHOLESKY? Or should I ask the library,<br>
> > say MUMPS, directly?<br>
><br>
><br>
> This is from the PCFactorView():<br>
><br>
> MatInfo info;<br>
> ierr = MatGetInfo(factor->fact,MAT_LOCAL,&info);CHKERRQ(ierr);<br>
<br>
MatGetInfo does not seem to be available in petsc4py. Am I grepping<br>
correctly?<br></blockquote><div><br></div><div>It appears to be missing, probably because it passes a struct around.</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">
Jan<br>
<br>
> ierr = PetscViewerASCIIPrintf(viewer," factor fill ratio given<br>
> %g, needed<br>
> %g\n",(double)info.fill_ratio_given,(double)info.fill_ratio_needed);CHKERRQ(ierr);<br>
><br>
> THanks,<br>
><br>
> MAtt<br>
><br>
><br>
> ><br>
> > Jan<br>
> ><br>
><br>
><br>
><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
</div></div>