[petsc-users] Vector with ghost values using DMDA

Matthew Knepley knepley at gmail.com
Wed Oct 5 09:32:40 CDT 2016


On Wed, Oct 5, 2016 at 7:54 AM, Praveen C <cpraveen at gmail.com> wrote:

> Dear all
>
> I am using DMDA and create a vector with
>
> DMCreateGlobalVector
>

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMCreateLocalVector.html

   Matt


> However this does not have ghost values. How should I create vector if I
> want to access ghost values ?
>
> Thanks
> praveen
>



-- 
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/20161005/d492ff7b/attachment-0001.html>


More information about the petsc-users mailing list