I agree with DACreateMatrix(). Matt
On Fri, Aug 27, 2010 at 1:24 PM, Jed Brown <jed at 59a2.org> wrote: > On Fri, 27 Aug 2010 16:13:14 +0300, Aron Ahmadia < > aron.ahmadia at kaust.edu.sa> wrote: > > Not to mention the various Get routines that are actually used to create > > things, such as DAGetMatrix. > > I think that should have been named DACreateMatrix(). Other XGetY() are > just accessors which create a managed object if needed. When there is a > Get/Restore pair, it implies that the access to that managed resource > has some sort of exclusivity. I think > {Get,Restore}{Local,Global}Vector() are actually the only functions with > that naming scheme that really manage a pool. > > Jed > -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100827/3c4594d7/attachment.html>