petsc-3.14.6 2021-03-30
VecGetType
Gets the vector type name (as a string) from the Vec.
Synopsis
#include "petscvec.h"
PetscErrorCode VecGetType(Vec vec, VecType *type)
Not Collective
Input Parameter
Output Parameter
| type | - The vector type name
|
See Also
VecSetType(), VecCreate()
Level
intermediate
Location
src/vec/vec/interface/vecreg.c
Examples
src/vec/vec/tutorials/ex1f.F90.html
src/ksp/ksp/tutorials/ex73.c.html
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages