[petsc-dev] SNESDMComputeJacobian()

Peter Brune prbrune at gmail.com
Tue May 15 21:30:09 CDT 2012


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.

- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120515/630d1239/attachment.html>


More information about the petsc-dev mailing list