[petsc-dev] 32-bits or 64-bits petsc

Jed Brown jedbrown at mcs.anl.gov
Wed Sep 18 13:32:26 CDT 2013


sizeof(PetscInt) or the macro PETSC_USE_64BIT_INDICES
On Sep 18, 2013 11:30 AM, "Jose David Bermeol" <jbermeol at purdue.edu> wrote:

> Hi, I'm coding a solver, and I'm using PetscInt for indices, the problem
> is that a have to do a cast to int or long long int to pass the information
> to my external package, is there a variable that says which kind of
> indices(int or long long int) I'm using?
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130918/280af0f5/attachment.html>


More information about the petsc-dev mailing list