[petsc-dev] TS is creating SNES ALWAYS even when not needed

Jed Brown jed at jedbrown.org
Sat Apr 29 22:28:59 CDT 2017

Barry Smith <bsmith at mcs.anl.gov> writes:
>    That is a flaw that we should fix, the reason it hasn't hit my
>    radar is very few people currently use the SNES types that don't
>    use KSP. Suggestions on how to fix this? The same paradigms may
>    also help with TS.

Probably the same way, by adding a snes->Amat and snes->Pmat and
deciding on a priority (like that the SNES always clobbers the
ksp->pc->mat and ksp->pc->pmat if the user happens to change them).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170429/6d02597c/attachment.sig>

More information about the petsc-dev mailing list