[petsc-dev] Preconditioner for Schur complement (pcfieldsplit)
Jed Brown
jed at 59A2.org
Tue Mar 29 06:55:40 CDT 2011
On Tue, Mar 29, 2011 at 13:12, Thomas Witkowski <
thomas.witkowski at tu-dresden.de> wrote:
> PCFieldsplitSchurPrecondition seems to do what I want. But how to create
> the matrix for the preconditioner? I'm a little bit confused about it
> because the matrix/operator S acts on an index range that does not start
> from 0 and is not continuous, because each rank owns only some parts of the
> interior domain boundaries.
We do not currently have a way to set attributes on a "submatrix" that you
will extract in the future. You can implement MatGetSubMatrix to return your
special matrix for that block when called with that pair of ISs. Or you can
use MatNest for the preconditioning matrix, it is frequently a good storage
format when doing fieldsplit and you can use it unintrusively.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110329/c3cfe95c/attachment.html>
More information about the petsc-dev
mailing list