1: ! 2: ! 3: ! Include file for Fortran use of the Vec package in PETSc 4: ! 5: #if !defined (__PETSCVECDEF_H) 8: #include finclude/petscaodef.h 10: #if !defined(PETSC_USE_FORTRAN_DATATYPES) 11: #define Vec PetscFortranAddr 12: #define VecScatter PetscFortranAddr 13: #endif 15: #define NormType PetscEnum 16: #define InsertMode PetscEnum 17: #define ScatterMode PetscEnum 18: #define VecOption PetscEnum 19: #define VecType character*(80) 20: #define VecOperation PetscEnum 22: #define VECSEQ 'seq' 23: #define VECMPI 'mpi' 24: #define VECSTANDARD 'standard' 25: #define VECSEQCUSP 'seqcusp' 26: #define VECMPICUSP 'mpicusp' 27: #define VECCUSP 'cusp' 28: #define VECSEQVIENNACL 'seqviennacl' 29: #define VECMPIVIENNACL 'mpiviennacl' 30: #define VECVIENNACL 'viennacl' 31: #define VECSHARED 'shared' 32: #define VECESI 'esi' 33: #define VECPETSCESI 'petscesi' 35: #endif