[petsc-dev] checking if a vector is ghosted
Jed Brown
jedbrown at mcs.anl.gov
Wed Nov 9 16:37:59 CST 2011
On Tue, Nov 8, 2011 at 14:49, mspieg <mspieg at ldeo.columbia.edu> wrote:
> VecIsGhosted would be nice…
Pushed to petsc-dev. The semantics are simply whether
VecGhostGetLocalForm() will succeed (which is normally what you want in the
degenerate case of a serial Vec which is equal to its ghosted
representation). An alternative would be to eliminate VecIsGhosted and just
have VecGhostGetLocalForm function return NULL if the Vec is not ghosted.
I'm half-inclined to just do that, but would like to hear comments first.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111109/a7330746/attachment.html>
More information about the petsc-dev
mailing list