[petsc-users] newbie questions on preconditioner LU
Matthew Knepley
knepley at gmail.com
Mon Jan 28 13:35:11 CST 2013
On Mon, Jan 28, 2013 at 2:33 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
> On Mon, Jan 28, 2013 at 1:27 PM, Ling Zou <lingzou80 at gmail.com> wrote:
>
>> Ahh.. that's true!
>> In case M is not A (as you pointed out earlier), does PCLU provide the
>> approximated inverse matrix of M^{-1} using LU factorization on M?
>>
>
> Not really, preconditioners are based on inexact algorithms applied to A,
> not explicit formation of an M that is easier to factor exactly. Since the
> preconditioner P ("=M^{-1}") is non-singular, there _exists_ an M such that
> P=M^{-1}, but M is not explicitly computed and it's not used in the solve.
> Only P is used, and only in special cases (like incomplete factorization)
> is there even a practical algorithm available to compute M if you wanted
> to. (For many interesting algorithms, M is dense even though A is sparse.)
>
Jed, I don't think that was the question. He was asking, does LU always use
A as the matrix to factorize, or can I use M? to which the
answer is plainly Yes.
Matt
--
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/20130128/6c90c32b/attachment.html>
More information about the petsc-users
mailing list