[petsc-dev] A PETSc question on scicomp I can't completely answer (behavior of PETScSetxxx)

2012-05-23 Thread Aron Ahmadia
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 M

[petsc-dev] A PETSc question on scicomp I can't completely answer (behavior of PETScSetxxx)

2012-05-23 Thread Matthew Knepley
On Wed, May 23, 2012 at 7:23 AM, Aron Ahmadia 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.stackexch