[petsc-users] Scatter parallel Vec to sequential Vec on non-zeroth process

Peder Jørgensgaard Olesen pjool at mek.dtu.dk
Wed Jun 30 06:49:09 CDT 2021


Hello


I have a parallel vector, and I'd like to copy its data to a sequential vector located on a given process that is not necessarily the 0th process, so using VecScatterCreateToZero wouldn't do here.


How might one approach this?


Med venlig hilsen / Best Regards


Peder Jørgensgaard Olesen

PhD Student, Turbulence Research Lab

Dept. of Mechanical Engineering

Technical University of Denmark

Koppels Allé

Bygning 403, Rum 105

DK-2800 Kgs. Lyngby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20210630/189db2da/attachment-0001.html>


More information about the petsc-users mailing list