[petsc-dev] field split error
Jed Brown
jedbrown at mcs.anl.gov
Sat Sep 28 20:51:40 CDT 2013
"Mark F. Adams" <mfadams at lbl.gov> writes:
>>
>>> This is a sort of sensible number.
>>
>> Nonsense! PETSc and C both use 0-based indexing consistently. This is
>> not a Fortran interface.
>
> I meant it is a valid number. An IS can start at 1.
An IS can start at any number, but this one starts at 0 and when
ISStrideGetInfo reads 1, it's reading out of IS_General, specifically
the PetscBool "sorted" field with 32-bit ints, and combination of
PetscBool "sorted" and PetscBool "allocated" with 64-bit ints.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130928/edfebae9/attachment.sig>
More information about the petsc-dev
mailing list