<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 11, 2016 at 12:56 PM, wen zhao <span dir="ltr"><<a href="mailto:wen.zhao@outlook.fr" target="_blank">wen.zhao@outlook.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi barry<br><br>I have a question about the viewer of a matrix. I use a PCcholesky method to factor matrix. and i use this codes to get a factored matrix F.<br><br> ierr = PCSetType(pc,PCCHOLESKY);CHKERRQ(ierr);<br> ierr = PCFactorSetMatSolverPackage(pc,MATSOLVERMUMPS);CHKERRQ(ierr);<br> ierr = PCFactorSetUpMatSolverPackage(pc);CHKERRQ(ierr);<br> ierr = PCFactorGetMatrix(pc,&F);CHKERRQ(ierr); <br><br>But it seems that the matrix F can not be viewed with MATVIEW() function. It tells me the f is in ACII format i guess. So what should i do to view the matrix and export it in using PetscViewerBinaryOpen() function.<br></div></div></blockquote><div><br></div><div>We do not have viewers for matrices stored in the formats from other packages, like MUMPS. We have no idea</div><div>what that internal format is, and have no guarantee that they will not change the format.</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><div dir="ltr">Thanks very much</div></div></blockquote></div>-- <br><div class="gmail_signature">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></div>