I was assuming context data was stuffed in a Mat. So whatever your context object is can be used in the solve phase, just passed through to the apply operator. A graph is just needed for setup, for the ISs.
Mark On Dec 23, 2011, at 2:33 PM, Jed Brown wrote: > On Fri, Dec 23, 2011 at 13:31, Mark F. Adams <mark.adams at columbia.edu> > wrote: > Ah yes, by "mat" I'm assuming a shell in this case. The construction of > these ISs needs a graph -- its not magic -- its a parallel multiplicative > method. > > Yes, the user should provide a Mat so that the library can build the ISs, but > the user shouldn't get a Mat back in their callback because they are being > asked to perform a nonlinear operation that does not use a Mat. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111223/d356c58b/attachment.html>