[petsc-users] Scattering a sequential vector

Anton Popov popov at uni-mainz.de
Thu Oct 9 16:57:41 CDT 2014


On 10/9/14 11:52 PM, Harshad Sahasrabudhe wrote:
> Hi,
>
> I need to scatter (distribute) a sequential vector on process 0 to all 
> the processes according to a know set of global indices for each 
> process. How can this be done using VecScatter?
>
> Thanks,
> Harshad
looks like this is appropriate: 
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecScatterCreateToZero.html#VecScatterCreateToZero

Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141009/f8bf93ac/attachment.html>


More information about the petsc-users mailing list