Discussion:
[petsc-users] Solving only for certain rows
Orxan Shibliyev
2015-10-14 03:28:20 UTC
Permalink
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?
Jed Brown
2015-10-14 03:42:43 UTC
Permalink
Post by Orxan Shibliyev
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.

Loading...