[petsc-users] fieldsplit: Unhandled case, must have at least two fields, not 1!
Jed Brown
jedbrown at mcs.anl.gov
Thu Dec 5 09:48:56 CST 2013
Nico Schlömer <nico.schloemer at gmail.com> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131205/b96dcd4a/attachment.pgp>
More information about the petsc-users
mailing list