[petsc-dev] questions on new include organization

Jed Brown jedbrown at mcs.anl.gov
Tue Feb 12 23:24:48 CST 2013


On Tue, Feb 12, 2013 at 11:17 PM, Matthew Knepley <knepley at gmail.com> wrote:

> Yes. PetscSection represents groups of numbers, and you can see the
> grouping.
>

IS is a map from (int) -> (int), but PetscSection is a map from (int) ->
(int,int) where the pair is interpreted to mean an interval of non-negative
extent. If it's any use, an IS could be thought of as the special case
(int) -> (int,1).


>
>
>>    What queries "do not just return members of this list" in PETSc
>> section? (That is queries we wish to retain anyways).
>
>
> For example, you can ask "how many items are in group p?". This is
> crucial, and the whole point of the structure.
> I don't see how you can recover that information from just the list of dof
> numbers.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130212/7c1205e6/attachment.html>


More information about the petsc-dev mailing list