On Wed, Aug 27, 2008 at 12:23 PM, Matthew Knepley <knepley at gmail.com> wrote:
> There is no concept of global for IS. They are purely serial. AO is the only
> global construct with indices.

Well, I partially agree with you in that point. However, I still
believe ISBlockGetSize is a bit confussing. Perhaps we can condensare
ISBlockGetSize() and ISBlockGetIndices() in a single call like this:

PetscErrorCode ISBlockGetInfo(IS is, PetscInt *n, const PetscInt *idx[])

Getting the actual, 'unmapped' block indices is a rather special call.


> On Wed, Aug 27, 2008 at 10:09 AM, Lisandro Dalcin <dalcinl at gmail.com> 
> wrote:
>> I believe we have to review the interface of ISBlock. Currently,
>> ISBlockGetSize() return the number of LOCAL block indices. This is not
>> consistent with other naming conventions for getting local and glocal
>> sizes. I propose to change this to the following
>>
>> 1) change: ISBlockGetSize() returns the number global blocks
>> 2) addition:  ISBlockGetLocalSize() return the number of local blocks
>>
>> Comments?
>>
>>
>> --
>> Lisandro Dalc?n
>> ---------------
>> Centro Internacional de M?todos Computacionales en Ingenier?a (CIMEC)
>> Instituto de Desarrollo Tecnol?gico para la Industria Qu?mica (INTEC)
>> Consejo Nacional de Investigaciones Cient?ficas y T?cnicas (CONICET)
>> PTLC - G?emes 3450, (3000) Santa Fe, Argentina
>> Tel/Fax: +54-(0)342-451.1594
>>
>>
>
>
>
> --
> 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
>
>



-- 
Lisandro Dalc?n
---------------
Centro Internacional de M?todos Computacionales en Ingenier?a (CIMEC)
Instituto de Desarrollo Tecnol?gico para la Industria Qu?mica (INTEC)
Consejo Nacional de Investigaciones Cient?ficas y T?cnicas (CONICET)
PTLC - G?emes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594


Reply via email to