[petsc-dev] DMDA_*PERIODIC and DMDA_XYZGHOSTED
Jed Brown
jed at 59A2.org
Tue Dec 7 14:22:52 CST 2010
On Tue, Dec 7, 2010 at 21:20, Barry Smith <bsmith at mcs.anl.gov> wrote:
> How with the DMDA could you have a no copy and still allow nice 2 d and 3d
> array access of ghost points? It seems to me with DMDA you would always need
> a copy (or some crazy overloading of [])?
>
Indeed, you would need overloading which I'm not proposing.
> Or do you mean in the DMDA case you get a copy but in the unstructured grid
> case you get no copy, but the basic paradigm of "local form" is always used?
>
Yeah, I just want a uniform API.
> In other words all parallel Vecs could have related local forms and the
> model is "give me local form Vec", scatter to/from local form vec etc?
>
Yes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101207/23f94c48/attachment.html>
More information about the petsc-dev
mailing list