On Wed, Sep 28, 2011 at 3:54 PM, Hui Zhang <span dir="ltr">&lt;<a href="mailto:mike.hui.zhang@hotmail.com">mike.hui.zhang@hotmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><span style="font-family:Times"><pre>Hi all,</pre><pre>When using</pre><pre>PetscErrorCode  VecScatterCreate(Vec xin,IS ix,Vec yin,IS iy,VecScatter *newctx)</pre><pre>I want to add those values of xin to the original values of yin.</pre>
<pre>Is there a way to do this without copy of yin?</pre></span></div></blockquote><div>I am not sure what you mean here. Do you want xin == yin?</div><div><br></div><div>  Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><span style="font-family:Times"><pre>Thanks!</pre><pre>Hui</pre></span></div></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>