petsc-3.3-p7 2013-05-11

PCFactorSetMatSolverPackage

sets the software that is used to perform the factorization

Synopsis

#include "petscpc.h" 
PetscErrorCode  PCFactorSetMatSolverPackage(PC pc,const MatSolverPackage stype)
Logically Collective on PC

Input Parameters

pc - the preconditioner context
stype - for example, spooles, superlu, superlu_dist

Options Database Key

-pc_factor_mat_solver_package <stype> -spooles, petsc, superlu, superlu_dist, mumps

Note

By default this will use the PETSc factorization if it exists

Keywords

PC, set, factorization, direct, fill

See Also

MatGetFactor(), MatSolverPackage, PCFactorGetMatSolverPackage()

Level:intermediate
Location:
src/ksp/pc/impls/factor/factor.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex52.c.html
src/ksp/ksp/examples/tutorials/ex53.c.html