[petsc-users] Providing context to DMShell

2016-01-12 Thread Boris Boutkov
Hello All, I'm trying to attach a context to the DMShell similarly to how a context is passed into SNES through the SetFunction routine. Specifically, I'm looking to provide my own interpolation routine to both DMShellSetCreateInterpolationand Injection, which requires some user data from my

Re: [petsc-users] Providing context to DMShell

2016-01-12 Thread Lawrence Mitchell
On 12/01/16 15:37, Boris Boutkov wrote: > Hello All, > > I'm trying to attach a context to the DMShell similarly to how a context > is passed into SNES through the SetFunction routine. Specifically, I'm > looking to provide my own interpolation routine to both >