[petsc-dev] SNESDMComputeJacobian()

Barry Smith bsmith at mcs.anl.gov
Tue May 15 21:44:03 CDT 2012


On May 15, 2012, at 9:11 PM, Jed Brown 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?

  Jed,

   I assumed that your updates to SNES/DM had/would eliminate this whole business. So, yes, nothing should depend on the DM being in the user context anymore.


   Barry





More information about the petsc-dev mailing list