Re: [petsc-users] I suggest to create a demo code for the problem of "Get a value from global vector to a local processor"

2019-01-17 Thread leejearl via petsc-users
Hi Matt,Thanks again for your helps. You have help me a lot. Petsc is a great library. I need to learn more about it, thanks. LeejearlOn Thu, 2019-01-17 at 21:41 -0500, Matthew Knepley wrote: > On Thu, Jan 17, 2019 at 9:39 PM leejearl > wrote: > > Hi, Matt, > > On Thu, 2019-01-17 at

Re: [petsc-users] I suggest to create a demo code for the problem of "Get a value from global vector to a local processor"

2019-01-17 Thread leejearl via petsc-users
Hi, Matt, On Thu, 2019-01-17 at 21:20 -0500, Matthew Knepley wrote: > On Thu, Jan 17, 2019 at 9:04 PM leejearl > wrote: > > Hi Matt, > > Thanks for your reply. We have got to a consensus. For such a > > problem, I have sought the mail list for helps and found a great > > many misleading

Re: [petsc-users] I suggest to create a demo code for the problem of "Get a value from global vector to a local processor"

2019-01-17 Thread leejearl via petsc-users
Hi Matt,Thanks for your reply. We have got to a consensus. For such a problem, I have sought the mail list for helps and found a great many misleading answers. I think some of answers may work for the DMDA. Now I have overcome this by creating a PetscSF and PetscSFBcast, and the