[petsc-users] finclude (web) vs petsc-finclude (git)

Jed Brown jed at jedbrown.org
Thu Apr 9 14:39:36 CDT 2015


Tabrez Ali <stali at geology.wisc.edu> writes:

> You can use your own petsc.h
>
> #include <petscversion.h>
> #if (PETSC_VERSION_MAJOR==3 && PETSC_VERSION_MINOR<=5)

It's more readable as

#if PETSC_VERSION_LT(3,6,0)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150409/49b6cc4e/attachment.pgp>


More information about the petsc-users mailing list