xref: /petsc/src/ksp/pc/impls/factor/lu/lu.h (revision 81540f2fa6ed413bc384182845a7ebe823db191f)
1 /*
2    Private data structure for LU preconditioner.
3 */
4 #if !defined(__LU_H)
5 #define __LU_H
6 
7 #include "petscmat.h"
8 
9 typedef struct {
10   Mat              fact;             /* factored matrix */
11   PetscReal        actualfill;       /* actual fill in factor */
12   PetscTruth       inplace;          /* flag indicating in-place factorization */
13   IS               row,col;          /* index sets used for reordering */
14   MatOrderingType  ordering;         /* matrix ordering */
15   PetscTruth       reuseordering;    /* reuses previous reordering computed */
16   PetscTruth       reusefill;        /* reuse fill from previous LU */
17   MatFactorInfo    info;
18   PetscTruth       nonzerosalongdiagonal;
19   PetscReal        nonzerosalongdiagonaltol;
20   MatSolverPackage solvertype;
21 } PC_LU;
22 
23 #endif
24