[petsc-dev] SNESDMComputeJacobian()

Matthew Knepley knepley at gmail.com
Tue May 15 21:32:04 CDT 2012


On Tue, May 15, 2012 at 10:30 PM, Peter Brune <prbrune at gmail.com> wrote:

>
>
> On Tue, May 15, 2012 at 9:24 PM, Matthew Knepley <knepley at gmail.com>wrote:
>
>> On Tue, May 15, 2012 at 10:11 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>>
>>> *- ptr - pointer to a structure that must have a DM as its first entry.*
>>> *        This ptr must have been passed into SNESDMComputeFunction() as
>>> the context.*
>>>
>>> This is considered very bad form now since resolution-dependent
>>> information in the function context tends to make it not work with grid
>>> sequencing or FAS. Are we ready to remove it yet?
>>>
>>
>> How does the DM info get there? I thought we were still using this.
>>
>>
> SNESGetDM anyone?  Having that as part of the context, and not even a
> named part of the context, is terrible.
>

I guess I am fine with this. Its definitely no worse than the context arg.

   Matt


> - Peter
>
>
>>    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
>>
>
>


-- 
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/20120515/30d643a6/attachment.html>


More information about the petsc-dev mailing list