<div class="gmail_quote">On Thu, Jan 19, 2012 at 17:26, Mohamad M. Nasr-Azadani <span dir="ltr"><<a href="mailto:mmnasr@gmail.com">mmnasr@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I use only one DA parallel layout for my problem in spite of the fact that I use MAC-staggered grid (I added one extra cell to the end of the domain in each direction so that I overcome the difficulty of one extra cell associated with each velocity in the corresponding direction, i.e. one extra u-grid exists in x-direction or one extra v-grid exists in y-direction). </div>
<div>So, the vectors (global and locals) are derived from same DA but they do not refer to the same physical location. </div></blockquote></div><br><div>This is fine, but you will have to manage coordinates yourself. I would create a DMDA with similar layout to the "solution" DMDA to hold the coordinates. You could even just create this thing for viewing. Then put your local coordinates into its global vector and view that.</div>