[petsc-users] Ghost communication

Matthew Knepley knepley at gmail.com
Wed Jun 22 09:52:21 CDT 2011


On Wed, Jun 22, 2011 at 9:45 AM, Milan Mitrovic
<milan.v.mitrovic at gmail.com>wrote:

> Both vectors are created with the VecCreateGhostWithArray as pasted above.
>
> The ghosts never get updated... I put a dummy value and it stays untouched.
>
> 'to' is also a ghosted vector but the contributions from the ghosts
> should be discarded. The ghosts are only used to compute the new local
> values.
>
> Any ideas?
>

Can you run Vec ex9? It demonstrates the use of ghosted vectors.

   Matt

-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110622/cd6a486a/attachment.htm>


More information about the petsc-users mailing list