[petsc-users] about the preconditioned GMRES

Jed Brown jedbrown at mcs.anl.gov
Tue Jun 5 13:01:57 CDT 2012


On Tue, Jun 5, 2012 at 12:48 PM, RenZhengYong <renzhengyong at gmail.com>wrote:

> Dear Petsc users,
>
> My purpose is to solve AmatX=b, A is a symmetric indefinite matrix.
> Here, I read the manual about the usage of preconditioned GMRES method:
> Given a matrix Pmat which is a good approximation to Amat, and call
>
> PetscErrorCode  KSPSetOperators(KSP ksp,Mat Amat,Mat Pmat,MatStructure flag).
>
> My question is: If I have an explicit good approximation (T) to the inverse of the Amat (that is T=Pmat^{_1}),
> which call will be used to tell the KSP of having this explicit preconditioner.
>
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PC/PCMAT.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120605/b43f97ef/attachment.html>


More information about the petsc-users mailing list