[petsc-users] Use of PCFieldSplitSetSchurPre
Jed Brown
jed at jedbrown.org
Tue Aug 19 10:17:21 CDT 2014
Mark Adams <mfadams at lbl.gov> writes:
> I am creating an Schur complement matrix explicitly (solver%schur) and
> setting it with code like:
>
> call SNESGetKSP(solver%snes,innerksp,ierr)
> call KSPGetPC(innerksp,spc,ierr)
> call
> PCFieldSplitSetSchurPre(spc,PC_FIELDSPLIT_SCHUR_PRE_USER,solver%schur,ierr)
>
> I would think that the "inner" solver would not be used but it is getting
> used.
[...]
> PC Object:(fsa_) 4 MPI processes
> type: fieldsplit
> FieldSplit with Schur preconditioner, factorization FULL
> Preconditioner for the Schur complement formed from A11
I would set a breakpoint at PCFieldSplitSetSchurPre_FieldSplit and then
watch -l jac->schurpre since it appears that your information is being
lost somewhere.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140819/64778ba6/attachment.pgp>
More information about the petsc-users
mailing list