[petsc-dev] Integrating PFLOTRAN, PETSC & SAMRAI

Jed Brown jed at 59A2.org
Mon Jun 6 16:11:01 CDT 2011


On Mon, Jun 6, 2011 at 23:09, Boyce Griffith <griffith at cims.nyu.edu> wrote:

> Oh, right, except that getVector() is called even on Vec's that are not
> modified.


What comes out of getVector()? Is it an object that can keep track of
whether it is modified?

If your programming model uses RAII, the destructor can also be used to
propagate state.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110606/122d72ca/attachment.html>


More information about the petsc-dev mailing list