<div dir="ltr">On Sun, Nov 27, 2011 at 11:12 AM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov">jedbrown@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><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 Sun, Nov 27, 2011 at 01:44, Aron Ahmadia <span dir="ltr"><<a href="mailto:aron.ahmadia@kaust.edu.sa" target="_blank">aron.ahmadia@kaust.edu.sa</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>qbc is a multi-dimensional, Fortran ordered numpy array</div></div></blockquote><div><br></div></div><div>Why is it a separate array instead of the one inside of the local vector?</div><div><br></div></div></blockquote>
<div><br></div><div>Are you asking: "Why is this not a view into the local vector?" I'm guessing because we never thought about it that way :) </div><div><br></div><div>I ask the question mostly because we are reevaluating a large set of performance-related modifications to the pyclaw code base, and I didn't see a clear justification for the use of reset/place instead of localToGloba/reset...</div>
<div><br></div><div>I'll have to think a little more about considering qbc a view of the local array instead of a copy, and probably take a closer look into how it's being used in pyclaw to explain that.</div><div>
<br></div><div>-A</div></div></div>