[petsc-dev] questions on new include organization
Jed Brown
jedbrown at mcs.anl.gov
Tue Feb 12 23:35:40 CST 2013
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>
More information about the petsc-dev
mailing list