On Mon, Jun 6, 2011 at 23:06, Boyce Griffith <griffith at cims.nyu.edu> wrote:
> I agree --- right now, I have a getVector() method but no restoreVector() > method. Probably the right thing to do is to have a restoreVector() > function that updates the state. Perfect, this is what I was looking for. You can also just increment state in the getVector() method. Is there a const and non-const version of getVector()? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110606/6d181704/attachment.html>