#include "petscvec.h" int VecSetType(Vec vec,VecType type_name)Collective on Vec
vec | - the vector object | |
type_name | - name of the vector type |
Use VecDuplicate() or VecDuplicateVecs() to form additional vectors of the same type as an existing vector.
Level:intermediate
Location:src/vec/utils/gcreatev.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages