[petsc-users] Understanding "indices" in ISLocalToGlobalMappingGetInfo

Pedro Torres torres.pedrozpk at gmail.com
Sat Mar 13 11:38:56 CST 2010


2010/3/13 Jed Brown <jed at 59a2.org>

> On Sat, 13 Mar 2010 13:56:11 -0300, Pedro Torres <
> torres.pedrozpk at gmail.com> wrote:
> > I call ISLocalToGlobalMappingGetInfo and I get the following information:
> >
> > *Process 0:*
> >
> > nproc = 2  procs [0 1]  numprocs = [13 13]
> > indices = [0 1 2 3 5 6 10 11 17 18 19 20 28;
> >                   0 1 2 3 5 6 10 11 17 18 19 20 28]
> >
> > *Process 1:*
> > nproc = 2  procs [1 0]  numprocs = [13 13]
> > indices = [77 79 87 88 94 95 99 100 101 102 103 104 105;
> >                    77 79 87 88 94 95 99 100 101 102 103 104 105]
> > It seems that the indices in process 1 are correct, but not in the
> process
> > 0.  Are these results correct?
>
> The indices are with respect to the local numbering.  So rank 0's last
> shared entry is (global index) 121 which has local index 28.


Great, now it's totally clear.


> Maybe it
> would be clearer if the docs read
>
>  local indices of nodes shared with neighbor (sorted by global numbering)
>
> instead of the present
>
>  indices of local nodes shared with neighbor (sorted by global numbering)
>
> Can you think of a better way to word it?
>

I'm not an english native  speakers, but another choice (not
necessarily better)
could be
   * *indices of nodes (in local numbering) shared with neighbor (sorted by
global numbering)

Thanks a lot!.

Regards

Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20100313/947955e1/attachment.htm>


More information about the petsc-users mailing list