[petsc-dev] section negative offsets

Matthew Knepley knepley at gmail.com
Tue Sep 17 07:48:18 CDT 2019


On Tue, Sep 17, 2019 at 8:34 AM Hapla Vaclav via petsc-dev <
petsc-dev at mcs.anl.gov> wrote:

> Can PetscSection offsets other than unset be negative? I.e. could the
> offset value of -1 be an indicator it was not set and needs to be computed?
>

No, we use negative offsets for off-process things.

   Matt


> Thanks,
> Vaclav



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190917/7a51cb05/attachment.html>


More information about the petsc-dev mailing list