[petsc-dev] Integrating PFLOTRAN, PETSC & SAMRAI

Jed Brown jed at 59A2.org
Mon Jun 6 16:09:00 CDT 2011


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>


More information about the petsc-dev mailing list