[petsc-dev] Copy scatter and change block size

Pierre Jolivet pierre.jolivet at enseeiht.fr
Sat Nov 25 09:41:32 CST 2017


Hello,
Given a VecScatter inctx that operates on vectors x and y, I’d like to create a VecScatter inctx_bs with the same pattern, but that operators on vectors x_bs and y_bs with different block sizes than the original x and y (and that are thus of sizes n * bs).
Is there an easy way to do this (I’m a VecScatter noob, sorry in advance if this is trivial)?

Thank you,
Pierre


More information about the petsc-dev mailing list