Re: [petsc-dev] Preconditioner for Schur complement (pcfieldsplit)
31 Mar
2011
31 Mar
'11
1:48 a.m.
On Tue, Mar 29, 2011 at 15:29, Thomas Witkowski < [email protected]> 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
5613
Age (days ago)
5613
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown