So I have to create a global vector AND a local vector using DMCreateLocalVector.
Then I do DMGlobalToLocalBegin/End. Does this not lead to too much copying ? I see there is VecCreateGhost but no such thing for DMDA ? Best praveen PS: Would be nice if the reply-to was set to mailing list. I frequently forget to do Reply All. On Wed, Oct 5, 2016 at 7:45 PM, Jed Brown <[email protected]> wrote: > Praveen C <[email protected]> writes: > > > Dear all > > > > I am using DMDA and create a vector with > > > > DMCreateGlobalVector > > > > > > However this does not have ghost values. How should I create vector if I > > want to access ghost values ? > > That's what local vectors are for. >
