On Thu, Feb 11, 2016 at 12:56 PM, wen zhao <[email protected]> wrote:

> Hi barry
>
> 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.
>
>     ierr = PCSetType(pc,PCCHOLESKY);CHKERRQ(ierr);
>     ierr = PCFactorSetMatSolverPackage(pc,MATSOLVERMUMPS);CHKERRQ(ierr);
>     ierr = PCFactorSetUpMatSolverPackage(pc);CHKERRQ(ierr);
>     ierr = PCFactorGetMatrix(pc,&F);CHKERRQ(ierr);
>
> 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.
>

We do not have viewers for matrices stored in the formats from other
packages, like MUMPS. We have no idea
what that internal format is, and have no guarantee that they will not
change the format.

  Matt


> Thanks very much
>
-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

Reply via email to