Nico Schlömer <[email protected]> writes:

> For the record, the problem I had was caused by the fact that I
>  * first created the solver,
>  * then set
>     PetscOptionsSetValue('pc_type', 'fieldsplit')

Please use PCSetType(pc,PCFIELDSPLIT) if you are setting this up from
code, rather than tinkering with the options database.  Also, we
strongly recommend calling KSPSetFromOptions() *after* any manual
settings, so that the solver can be modified at run-time.

Attachment: pgpqMKOLYLo7b.pgp
Description: PGP signature

Reply via email to