On Thu, Sep 3, 2009 at 12:54 PM, xiaoyin ji <span dir="ltr"><<a href="mailto:sapphire.jxy@gmail.com">sapphire.jxy@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I thought the preconditioner with ksp solver is a vector where the<br>
solver start to iterate and solve...so my idea is if I could set a<br>
vector which is close to the solution as preconditioner, then ksp will<br>
do less iteration.<br></blockquote><div><br>It is not. I suggest Yousef Saad's book Iterative Methods for Sparse Linear Systems.<br><br> Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Xiaoyin Ji<br>
<br>
> By the way, will there be a way to set a PETSc vector directly into a<br>
>> preconditioner for the ksp solver?<br>
>><br>
><br>
> Do not know what you mean here.<br>
><br>
> Matt<br>
><br>
><br>
>> Thanks!<br>
>><br>
>> Best,<br>
>> Xiaoyin Ji<br>
>><br>
>> Department of Materials Science and Engineering<br>
>> North Carolina State University<br>
>><br>
><br>
><br>
><br>
> --<br>
> What most experimenters take for granted before they begin their experiments<br>
> is infinitely more interesting than any results to which their experiments<br>
> lead.<br>
> -- Norbert Wiener<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090903/9cc3bda5/attachment-0001.htm" target="_blank">http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090903/9cc3bda5/attachment-0001.htm</a>><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> petsc-users mailing list<br>
> <a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a><br>
> <a href="https://lists.mcs.anl.gov/mailman/listinfo/petsc-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/petsc-users</a><br>
><br>
><br>
> End of petsc-users Digest, Vol 9, Issue 3<br>
> *****************************************<br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>