[petsc-dev] broken TS example related to Jacobian and coloring etc.

Matthew Knepley knepley at gmail.com
Tue Aug 14 16:44:43 CDT 2012


On Tue, Aug 14, 2012 at 4:40 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> On Tue, Aug 14, 2012 at 3:35 PM, Matthew Knepley <knepley at gmail.com>wrote:
>
>> I guess I do not understand. What is the context set API? Why can't you
>> pass NULL?
>
>
> You can, but the setter routines interpret NULL as "ignore", i.e.
>
> if (func) ctx->func = func;
>

Does this make sense to anyone? Can we remove that if?

   Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120814/d2266f72/attachment.html>


More information about the petsc-dev mailing list