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

vec - The vector

Output Parameter

type - The vector type name

Level: intermediate

See Also

VecSetType(), VecCreate()

Location:vecreg.c