On Thu, Apr 2, 2009 at 2:46 PM, Khan, Irfan <span dir="ltr"><<a href="mailto:irfan.khan@gatech.edu">irfan.khan@gatech.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Does VecSwap() copy ghost entries too. i.e. if I have two similar parallel ghosted vectors, then swaping them using VecSwap(), would it also swap the local ghost entries of the two vectors?<br>
It doesn't seem to do so, please let me know if I am wrong.</blockquote><div><br>No, VecSwap() does not swap ghost values as it is intended to be purely local. You can call GhostUpdate()<br>afterwards to get this behavior.<br>
<br> Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Thank you<br>
<font color="#888888">Irfan<br>
</font></blockquote></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>