Actual source code: petscvecdef.h
petsc-3.7.7 2017-09-25
Report Typos and Errors

      1: !
      2: !
      3: !  Include file for Fortran use of the Vec package in PETSc
      4: !
      5: #if !defined (__PETSCVECDEF_H)

      8:  #include petsc/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 VECSHARED 'shared'
     26: #define VECSEQCUSP 'seqcusp'
     27: #define VECMPICUSP 'mpicusp'
     28: #define VECCUSP 'cusp'
     29: #define VECSEQVIENNACL 'seqviennacl'
     30: #define VECMPIVIENNACL 'mpiviennacl'
     31: #define VECVIENNACL    'viennacl'
     32: #define VECNEST 'nest'

     34: #endif