[petsc-users] about the preconditioned GMRES
RenZhengYong
renzhengyong at gmail.com
Tue Jun 5 12:48:41 CDT 2012
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.
Thanks in advance for your suggestions.
Best wishes
Zhengyong
--
Zhengyong Ren
AUG Group, Institute of Geophysics
Department of Geosciences, ETH Zurich
NO H 47 Sonneggstrasse 5
CH-8092, Zürich, Switzerland
Tel: +41 44 633 37561
e-mail: zhengyong.ren at aug.ig.erdw.ethz.ch
Gmail: renzhengyong at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120605/8bbaf2c1/attachment.html>
More information about the petsc-users
mailing list