<div class="gmail_quote">On Fri, Aug 17, 2012 at 12:13 PM, Panruo Wu <span dir="ltr"><<a href="mailto:pwu@mymail.mines.edu" target="_blank">pwu@mymail.mines.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear PetSc developers and users,<div><br></div><div>I want to access a Petsc Vec v at index n whose value</div><div>is not necessarily stored in the same processor.</div><div>I noted that the current VecGetValues cannot do that. Do you have</div>
<div>any suggestions on how I can access v(n) from arbitrary </div><div>processors(in the same communicator of course)?</div></blockquote><div><br></div><div><a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecScatterCreate.html">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecScatterCreate.html</a></div>
<div><br></div><div>See also the user's manual chapter.</div></div>