[petsc-dev] Discussion about time-dependent optimization moved from PR

Lawrence Mitchell wencel at gmail.com
Tue Oct 17 11:40:28 CDT 2017


> On 17 Oct 2017, at 17:35, Jed Brown <jed at jedbrown.org> wrote:
> 
>> 
>> So my initial concern was that if I do:
>> 
>> SNESSetDM(snes, dm);
>> SNESSolve(snes);
>> SNESDestroy(&snes);
>> 
>> Then dm still has stale pointers to snes (in the context of the
>> restrict hook).  
> 
> Thanks, this is fixable.  Can someone make a test case for me?

I'll try and cook one up tomorrow.

Cheers,

Lawrence



More information about the petsc-dev mailing list