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

MatFactorGetSolverType

Returns name of the package providing the factorization routines

Synopsis

#include "petscmat.h" 
PetscErrorCode MatFactorGetSolverType(Mat mat, MatSolverType *type)
Not Collective

Input Parameter

mat - the matrix, must be a factored matrix

Output Parameter

type - the string name of the package (do not free this string)

Notes

In Fortran you pass in a empty string and the package name will be copied into it. (Make sure the string is long enough)

See Also

MatCopy(), MatDuplicate(), MatGetFactorAvailable(), MatGetFactor()

Level

intermediate

Location

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