[petsc-users] long int
Jed Brown
jed at 59A2.org
Sun Jun 12 18:05:58 CDT 2011
On Mon, Jun 13, 2011 at 00:58, Mohammad Mirzadeh <mirzadeh at gmail.com> wrote:
> But if it leads to too much cost I'm willing to change it back to int as
> currently I wont have 2B points on each processor
Just use a typedef. You can use PetscInt directly, or create your own
typedef (that has to match PetscInt for integer arrays that you pass to
PETSc). Then you don't have to touch the code to switch between 32- and
64-bit integers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110613/151c5e17/attachment.htm>
More information about the petsc-users
mailing list