petsc-3.7.3 2016-07-24
Report Typos and Errors

# VecType

String with the name of a PETSc vector

### Synopsis

    typedef const char* VecType;
    #define VECSEQ         "seq"
    #define VECMPI         "mpi"
    #define VECSTANDARD    "standard"   /* seq on one process and mpi on several */
    #define VECSHARED      "shared"
    #define VECSEQCUSP     "seqcusp"
    #define VECMPICUSP     "mpicusp"
    #define VECCUSP        "cusp"       /* seqcusp on one process and mpicusp on several */
    #define VECSEQVIENNACL "seqviennacl"
    #define VECMPIVIENNACL "mpiviennacl"
    #define VECVIENNACL    "viennacl"   /* seqviennacl on one process and mpiviennacl on several */
    #define VECSEQCUDA     "seqcuda"
    #define VECMPICUDA     "mpicuda"
    #define VECCUDA        "cuda"       /* seqcuda on one process and mpicuda on several */
    #define VECNEST        "nest"

### See Also

VecSetType(), Vec, VecCreate(), VecDestroy()

Level:beginner
Location: src/vec/vec/../../../include/petscvec.h
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages