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

Aron Ahmadia aron at ahmadia.net
Wed May 23 06:23:46 CDT 2012


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 :)

A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120523/a73078fe/attachment.html>


More information about the petsc-dev mailing list