[petsc-users] Solving only for certain rows

Jed Brown jed at jedbrown.org
Tue Oct 13 22:42:43 CDT 2015

Orxan Shibliyev <orxan.shibli at gmail.com> writes:

> I used KSP to solve Ax=b successfully but I would like to solve Ax=b only
> for certain rows. How can I do this?

It's not actually significantly cheaper no matter what you do.  You can
save a little on non-leading constant factors for some methods
(basically permuting the factorization so you only need a partial
back-solve).  This is usually negligible.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151013/00935422/attachment.pgp>

More information about the petsc-users mailing list