VecGetType

Gets the vector type and name (as a string) from the vector.

Synopsis

int VecGetType(Vec vec,VecType *type,char **name)
Not Collective

Input Parameter

mat -the vector

Output Parameter

type - the vector type (or use PETSC_NULL)
name - name of vector type (or use PETSC_NULL)

Keywords

vector, get, type, name

Location: src/vec/utils/gcreatev.c
Vector Index
Table of Contents