#include "petscdm.h" #include "petscdmlabel.h" #include "petscds.h" PetscErrorCode DMSetVecType(DM da,VecType ctype)Logically Collective on da
da | - initial distributed array | |
ctype | - the vector type, currently either VECSTANDARD, VECCUDA, or VECVIENNACL | |
-dm_vec_type ctype |