Actual source code: petscvec.h
petsc-3.12.4 2020-02-04
Report Typos and Errors

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

      8: #include "petsc/finclude/petscao.h"

     10: #define Vec type(tVec)
     11: #define VecScatter type(tVecScatter)
     12: #define VecTagger type(tVecTagger)

     14: #define NormType PetscEnum
     15: #define InsertMode PetscEnum
     16: #define ScatterMode PetscEnum
     17: #define VecOption PetscEnum
     18: #define VecType character*(80)
     19: #define VecOperation PetscEnum
     20: #define VecTaggerCDFMethod PetscEnum

     22: #define VECSEQ 'seq'
     23: #define VECMPI 'mpi'
     24: #define VECSTANDARD 'standard'
     25: #define VECSHARED 'shared'
     26: #define VECSEQVIENNACL 'seqviennacl'
     27: #define VECMPIVIENNACL 'mpiviennacl'
     28: #define VECVIENNACL    'viennacl'
     29: #define VECNEST 'nest'

     31: #define VecScatterType character*(80)

     33: #endif