[petsc-users] Question about KSP
Matthew Knepley
knepley at gmail.com
Thu May 19 07:28:13 CDT 2016
On Thu, May 19, 2016 at 2:48 AM, Elias Karabelas <
elias.karabelas at medunigraz.at> wrote:
> Dear all,
>
> I have a question about preconditioned solvers. So, I have a Sparsematrix,
> say A, and now for some reason I would like to add some rank-one term u v^T
> to that matrix.
> As far as I know about Petsc, I can define the action of this matrix with
> MatShell. But is it possible to adapt the preconditioner (like a AMG) of my
> KSP to handle that kind of MatShell?
>
I do not know how you would do that. Its possible other people have ideas.
Thanks,
Matt
> Kind Regards
> Elias
>
> --
> Dr Elias Karabelas
>
> Medical University of Graz
> Institute of Biophysics
> Harrachgasse 21/IV
> 8010 Graz, Austria
>
> Phone: +43 316 380 7759
> Email: elias.karabelas at medunigraz.at
> Web : http://forschung.medunigraz.at/fodok/staff?name=EliasKarabelas
>
>
--
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/20160519/a43a4e28/attachment.html>
More information about the petsc-users
mailing list