[petsc-users] AOCreateBasic

Matthew Knepley knepley at gmail.com
Mon Oct 29 19:48:34 CDT 2012


On Mon, Oct 29, 2012 at 3:51 PM, Eduardo <erocha.ssa at gmail.com> wrote:

> Hi,
> Can I use AOCreateBasic to create a mapping that has negative indexes?
> I mean, a mapping that starts at some -N and goes up to napp-1-N ?
> With no holes.
>

No, it relies on being a permutation. It would be easy to just shift the
order that comes out however.

   Matt


> Thanks in advance,
> Eduardo
>



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121029/ff09a52a/attachment-0001.html>


More information about the petsc-users mailing list