#include "petscmat.h" PetscErrorCode MatSolverTypeGet(MatSolverType package,const MatType mtype,MatFactorType ftype,PetscBool *foundpackage,PetscBool *foundmtype,PetscErrorCode (**getfactor)(Mat,MatFactorType,Mat*))
package | - name of the package, for example petsc or superlu | |
ftype | - the type of factorization supported by the package | |
mtype | - the matrix type that works with this package |
foundpackage | - PETSC_TRUE if the package was registered | |
foundmtype | - PETSC_TRUE if the package supports the requested mtype | |
getfactor | - routine that will create the factored matrix ready to be used or NULL if not found |