Re: [petsc-users] How to VecScatter from global to local vector, and then, VecGather back ?

2017-06-06 Thread Dave May
On 6 June 2017 at 17:45, Franck Houssen wrote: > How to VecScatter from global to local vector, and then, VecGather back ? > > This is a very simple use case: I need to split a global vector in local > (possibly overlapping) pieces, then I need to modify each local piece (x2), > and finally I nee

[petsc-users] How to VecScatter from global to local vector, and then, VecGather back ?

2017-06-06 Thread Franck Houssen
How to VecScatter from global to local vector, and then, VecGather back ? This is a very simple use case: I need to split a global vector in local (possibly overlapping) pieces, then I need to modify each local piece (x2), and finally I need to assemble (+=) back local parts into a global vecto