14 #ifndef _PETSC_SUPPORT_H_
15 #define _PETSC_SUPPORT_H_
20 #include "petscversion.h"
27 #if PETSC_VERSION_MAJOR == 3 && PETSC_VERSION_MINOR >= 2
28 #if PETSC_VERSION_MAJOR == 3 && PETSC_VERSION_MINOR < 4
29 #include "petscpcmg.h"
34 #define PETSCMANGLE(x) &x
37 #define PETSCMANGLE(x) x
45 #define PETSC_NULLPTR PETSC_NULL
std::vector< PetscReal > PetscRealVec
PETSc real vector.
Definition: PETScSupport.h:55
std::vector< PetscIntVec > PetscIntMat
PETSc integer matrix.
Definition: PETScSupport.h:56
int IS
To avoid compilation failures.
Definition: PETScSupport.h:51
int PetscInt
To avoid compilation failures.
Definition: PETScSupport.h:49
std::vector< PetscInt > PetscIntVec
PETSc integer vector.
Definition: PETScSupport.h:54
double PetscReal
To avoid compilation failures.
Definition: PETScSupport.h:50