[petsc-dev] questions on new include organization

Barry Smith bsmith at mcs.anl.gov
Wed Feb 13 07:31:54 CST 2013


On Feb 12, 2013, at 11:35 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> 
> 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"?

   No, group_number is the number of the clump. and indices are all the values in that clump

> 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.




More information about the petsc-dev mailing list