Actual source code: petscvecdef.h
petsc-3.4.2 2013-07-02

      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)1
     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 VECSHARED 'shared'
     29: #define VECESI 'esi'
     30: #define VECPETSCESI 'petscesi'

     32: #endif