petsc-3.7.1 2016-05-15
Report Typos and Errors

MatSolvePackageGet

Get's the function that creates the factor matrix if it exist

Synopsis

#include "petscmat.h" 
PetscErrorCode MatSolverPackageGet(const MatSolverPackage package,const MatType mtype,MatFactorType ftype,PetscBool *foundpackage,PetscBool *foundmtype,PetscErrorCode (**getfactor)(Mat,MatFactorType,Mat*))

Input Parameters

package - name of the package, for example petsc or superlu Many br
ftype - the type of factorization supported by the package Many br
mtype - the matrix type that works with this package Many br

Output Parameters

foundpackage - PETSC_TRUE if the package was registered Many br
foundmtype - PETSC_TRUE if the package supports the requested mtype Many br
getfactor - routine that will create the factored matrix ready to be used or NULL if not found Many br

Many br

See Also

MatCopy(), MatDuplicate(), MatGetFactorAvailable()

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