[petsc-dev] TSComputeIJacobian() no IJacobian function provided and no IMEX slow?

Jed Brown jedbrown at mcs.anl.gov
Sun Aug 25 23:32:45 CDT 2013


Barry Smith <bsmith at mcs.anl.gov> writes:
> Not that axpy is DIFFERENT_NONZERO_PATTERN which means a very slow
> MatAXPY(). If I understand things correctly after the first time
> through here *A will have a nonzero pattern at least as big as Arhs?

Yes, but what happens when Arhs is reassembled with a different nonzero
pattern?

> If so how can the code be organized so that slow MatAXPY() is not used
> for an eternity and switches to using subset for much faster
> performance?

We just need a reliable way to know when the nonzero pattern of Arhs
changes.
-------------- 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-dev/attachments/20130825/af314645/attachment.sig>


More information about the petsc-dev mailing list