[petsc-dev] questions on new include organization
Barry Smith
bsmith at mcs.anl.gov
Tue Feb 12 23:31:20 CST 2013
On Feb 12, 2013, at 11:27 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>
> On Tue, Feb 12, 2013 at 11:24 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> Then a PetscSection is a collection of lists of integers. An IS is a single list of integers. So let's make IS be a collection of lists of integers (what was previously a PetscSection) and the current use of IS becomes a special case.
>
> Then what does ISGetIndices() become?
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
2) ISGetIndices(is,&indices) simply returns all the indices for all the groups
More information about the petsc-dev
mailing list