[petsc-users] copy vector between communicators

Alexander Grayver agrayver at gfz-potsdam.de
Mon Feb 10 04:06:36 CST 2014


Hello,

I need to have a copy of a vector created on the communicator COMM to 
another vector created on the communicator SUBCOMM (which is a subset of 
the COMM processes).
Are there any standard functions that can help here? I assume VecScatter 
could help, but I am not sure how to use it here?

Thanks,
Alexander


More information about the petsc-users mailing list