[petsc-dev] sizeof(PetscInt) from buildsystem

Jed Brown jed at jedbrown.org
Tue May 6 09:24:36 CDT 2014


"Garth N. Wells" <gnw20 at cam.ac.uk> writes:
> Ok. To switch to static typemaps I'll build a test program that calls 
> sizeof(PetscInt).

How about this:

  size_t isize;
  PetscDataTypeGetSize(PETSC_INT,&isize);
-------------- 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/20140506/5b55aac5/attachment.sig>


More information about the petsc-dev mailing list