[petsc-users] how to obtain the vector value at the other processor.
Barry Smith
bsmith at mcs.anl.gov
Thu May 12 00:36:49 CDT 2016
If you wish all the entries on one or all processes then see
http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-vec-to-seq-vec or http://www.mcs.anl.gov/petsc/documentation/faq.html#mpi-vec-to-mpi-vec
if you want a subset of entries from other processes on each process then you need to see the manual page for VecScatterCreate().
Barry
> On May 12, 2016, at 12:32 AM, ztdepyahoo at 163.com wrote:
>
> Dear professor:
> i need to access the vector values which are not locted in local cpu. how to obtain them.
> Regards
More information about the petsc-users
mailing list