<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 31, 2015 at 12:02 AM, Bhalla, Amneet Pal S <span dir="ltr"><<a href="mailto:amneetb@live.unc.edu" target="_blank">amneetb@live.unc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<div>Hi Folks,</div>
<div><br>
</div>
<div>Following upon this thread</div>
<div><br>
</div>
<a href="http://lists.mcs.anl.gov/pipermail/petsc-users/2013-October/018989.html" target="_blank">http://lists.mcs.anl.gov/pipermail/petsc-users/2013-October/018989.html</a>
<div><br>
</div>
<div>is the behavior of VecRestoreSubVector() changed for non-contiguous enteries of original Vec to what is posted here? For example, if I  </div>
<div>extract a noncontiguous sub vector b from a Vec A, modify enteries of b, and restore b, would I see corresponding changes in </div>
<div>A? </div></div></blockquote><div><br></div><div>No. Now we automatically create a VecScatter for non-contiguous access.</div><div><br></div><div>  Thanks,</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">
<div>Thanks, </div>
<div><br>
<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div>— Amneet </div>
<div>=====================================================<br>
Amneet Bhalla</div>
<div>
<div>Postdoctoral Research Associate</div>
<div>Department of Mathematics and McAllister Heart Institute</div>
<div>University of North Carolina at Chapel Hill</div>
Email: <a href="mailto:amneet@unc.edu" target="_blank">amneet@unc.edu</a></div>
<div>Web:  <a href="https://abhalla.web.unc.edu/" target="_blank">https://abhalla.web.unc.edu</a><br>
=====================================================</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">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</div>
</div></div>