petsc-3.14.6 2021-03-30
Report Typos and Errors

MatGetVecType

Gets the vector type used by the matrix object.

Synopsis

#include "petscmat.h" 
PetscErrorCode MatGetVecType(Mat mat,VecType *vtype)
Not Collective

Input Parameter

mat - the matrix

Output Parameter

name - name of vector type

See Also

MatSetVecType()

Level

intermediate

Location

src/mat/interface/matreg.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages