<br><br><div class="gmail_quote">On Tue, Dec 7, 2010 at 2:22 PM, Jed Brown <span dir="ltr"><<a href="mailto:jed@59a2.org">jed@59a2.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="gmail_quote"><div class="im">On Tue, Dec 7, 2010 at 21:20, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>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 [])? </div></blockquote>
<div><br></div></div><div>Indeed, you would need overloading which I'm not proposing.</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>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?<br>
</div></blockquote><div><br></div></div><div>Yeah, I just want a uniform API.</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>  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?</div>


</blockquote></div></div><br><div>Yes.</div></blockquote><div><br></div><div>ALL Vecs or all Vecs obtained from a DMDA? </div></div><br>