<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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><br><br>Thanks very much<br> </div></body>
</html>