On Tue, Feb 12, 2013 at 11:31 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> Then would depend on how we would define how the grouping is handled and > how the GetIndices would be used. Some possibilities > > 1) ISGetIndices(is,int group_number, &indices) gives the indices for a > group or > 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.) > > 2) ISGetIndices(is,&indices) simply returns all the indices for all the > groups > That would need to be packed somehow. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130212/3fc3be94/attachment.html>
