<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 12, 2013 at 11:31 PM, 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 id=":3rz">Then would depend on how we would define how the grouping is handled and how the GetIndices would be used. Some possibilities<br>
<br>
1) ISGetIndices(is,int group_number, &indices) gives the indices for a group or<br></div></blockquote><div><br></div><div style>So by convention, group 0 is "offset" and group 1 is "size"? Do we need an arbitrary number of groups? (Making the object more general makes it harder to reason about what it does and harder to write non-implementation code that manipulates these objects.)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":3rz">
<br>
2) ISGetIndices(is,&indices) simply returns all the indices for all the groups</div></blockquote></div><br>That would need to be packed somehow.</div></div>