MatGetVecType#

Gets the vector type the matrix will return with MatCreateVecs()

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#

Matrices, Mat, MatType, Mat, MatSetVecType(), VecType

Level#

intermediate

Location#

src/mat/interface/matreg.c


Edit on GitLab

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages