<div dir="ltr"><a href="http://scicomp.stackexchange.com/questions/2303/petscs-xxxsetxxx-methods-own-pointer-or-copy-values">http://scicomp.stackexchange.com/questions/2303/petscs-xxxsetxxx-methods-own-pointer-or-copy-values</a><div>
<br></div><div>My understanding is that Set for the most part acts like a pass-by-reference, and my answer reflects that (<a href="http://scicomp.stackexchange.com/a/2311/9">http://scicomp.stackexchange.com/a/2311/9</a>)</div>
<div><br></div><div>If there's a better answer than that, Jed or Matt should post it or fix mine :)</div><div><br></div><div>A</div></div>