[petsc-dev] use of deprecated DMSetFunction() approach

Jed Brown jedbrown at mcs.anl.gov
Sun Nov 25 13:40:24 CST 2012

On Sun, Nov 25, 2012 at 7:58 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>    Totally awesome!  And can I ask why someone who made the obvious effort
> to write all this cool better new code didn't spend ten minutes to change
> the use of DMDASetFunctionLocal() in the examples to the new format  and
> strip out the old code that did the outdated wrong way?   Support for
> backward capability is the work of the devil, just don't do it!

We used it in SNES ex5, SNES ex48, and TS ex26. Are there any other
examples that matter? ;-D

You're right, this was bad behavior. I remember updating lots of examples,
but it looks like most of what I updated was not using the local functions.

>    Ok I will try to update the examples shortly and strip out that old
> code that should have been removed in March.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20121125/5315cbd1/attachment.html>

More information about the petsc-dev mailing list