xref: /petsc/src/ksp/pc/impls/factor/factor.h (revision 35bd34fa3344fb53ae05f23bf99eddd2f9bb15e6)
1*35bd34faSBarry Smith /*
2*35bd34faSBarry Smith    Private data structure for ILU preconditioner.
3*35bd34faSBarry Smith */
4*35bd34faSBarry Smith #if !defined(__FACTOR_H)
5*35bd34faSBarry Smith #define __FACTOR_H
6*35bd34faSBarry Smith 
7*35bd34faSBarry Smith #include "private/pcimpl.h"                /*I "petscpc.h" I*/
8*35bd34faSBarry Smith 
9*35bd34faSBarry Smith typedef struct {
10*35bd34faSBarry Smith   Mat               fact;             /* factored matrix */
11*35bd34faSBarry Smith   MatFactorInfo     info;
12*35bd34faSBarry Smith   MatOrderingType   ordering;         /* matrix reordering */
13*35bd34faSBarry Smith   MatSolverPackage  solvertype;
14*35bd34faSBarry Smith } PC_Factor;
15*35bd34faSBarry Smith 
16*35bd34faSBarry Smith #endif
17