On Wed, May 23, 2012 at 7:23 AM, Aron Ahmadia <aron@ahmadia.net> wrote:
http://scicomp.stackexchange.com/questions/2303/petscs-xxxsetxxx-methods-own-pointer-or-copy-values

My understanding is that Set for the most part acts like a pass-by-reference, and my answer reflects that (http://scicomp.stackexchange.com/a/2311/9)

If there's a better answer than that, Jed or Matt should post it or fix mine :)

Replied.

   Matt
 
A



--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener