[petsc-dev] What's the point of D(A/M)GetGlobalVector?
Jed Brown
jed at 59a2.org
Fri Aug 27 10:36:09 CDT 2010
On Fri, 27 Aug 2010 10:14:30 -0500, Dmitry Karpeev <karpeev at mcs.anl.gov> wrote:
> Maybe Create/Destroy isn't the right solution, but there appears to be
> some confusion
> about the meaning of Get/Restore in this context. It definitely
> differs from VecGet/RestoreArray.
> For example: there is no guarantee that subsequent DAGetXXXs,
> punctuated by DARestoreXXXs,
> will give one the same object.
Indeed, managing a pool has different semantics. Is it worth looking
for a less ambiguous/overloaded name?
Checkout/Checkin
Borrow/Return
Claim/Release
Jed
More information about the petsc-dev
mailing list