<div class="gmail_quote">On Wed, Nov 9, 2011 at 16:50, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":4fi">We don't usually do things that way hence I think a specific checking function is better.<br>
<br>
   3 seconds later I like the idea of returning null if it does not exist and not having the other checking function. Mark me down for the returning null approach.</div></blockquote></div><br><div>So the concern is what should VecGhostUpdateBegin/End do for non-ghosted Vecs? In the serial case, there is no harm in doing nothing because in the usual situation, there are just zero ghosted entries. For user-defined Vecs, what should happen?</div>
<div><br></div><div>Should VecGhostUpdateBegin just fail for anything that is not explicitly ghosted? I don't have a problem using a Vec_MPI in serial so that the presence of exactly 0 ghosts can be explicit.</div>