[petsc-users] The matrix viewer
Matthew Knepley
knepley at gmail.com
Thu Feb 11 12:57:37 CST 2016
On Thu, Feb 11, 2016 at 12:56 PM, wen zhao <wen.zhao at outlook.fr> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160211/223a3264/attachment.html>
More information about the petsc-users
mailing list