[petsc-users] Return value of PCFactorGetMatrix

Hong Zhang hzhang at mcs.anl.gov
Tue Dec 13 12:03:47 CST 2011


> I found MatGetInertia in petsc's documentation and i am not sure how to use it. I found an old example from petsc-2.3.1 (http://www.mcs.anl.gov/petsc/petsc-2.3.1/src/ksp/ksp/examples/tutorials/ex10.c.html ), but things seem to have changed since that version. Can you give an example?

petsc-3.2/src/ksp/ksp/examples/tests/ex33.c and ex36.c

Hong


More information about the petsc-users mailing list