[petsc-dev] Preconditioner for Schur complement (pcfieldsplit)

Jed Brown jed at 59A2.org
Thu Mar 31 01:48:32 CDT 2011


On Tue, Mar 29, 2011 at 15:29, Thomas Witkowski <
thomas.witkowski at tu-dresden.de> wrote:

> Is there any example which makes use of it?


src/snes/examples/tutorials/ex28.c is a (contrived) multi-physics prototype
that uses MatNest tranparently if you run with -pack_dm_mat_type nest
(currently, you should add -pc_type fieldsplit -pc_fieldsplit_type additive
because off-diagonal blocks are not automatically preallocated).

There are also two tests that use the low-level API:

$ grep -l MatNest src/**/tests/*.c
src/ksp/ksp/examples/tests/ex22.c
src/snes/examples/tests/ex17.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110331/a720ef55/attachment.html>


More information about the petsc-dev mailing list