xref: /petsc/src/ksp/pc/impls/factor/ilu/ilu.h (revision ba337c4413f444c9b07b767e9700a1bd83f660a1)
1 /*
2    Private data structure for ILU preconditioner.
3 */
4 #if !defined(__ILU_H)
5 #define __ILU_H
6 
7 #include "../src/ksp/pc/impls/factor/factor.h"
8 
9 typedef struct {
10   PC_Factor         hdr;
11   IS                row,col;         /* row and column permutations for reordering */
12   void              *implctx;         /* private implementation context */
13   PetscTruth        inplace;          /* in-place ILU factorization */
14   PetscTruth        reuseordering;    /* reuses previous reordering computed */
15 
16   PetscTruth        reusefill;        /* reuse fill from previous ILUDT */
17   PetscReal         actualfill;       /* expected fill in factorization */
18   PetscTruth        nonzerosalongdiagonal;
19   PetscReal         nonzerosalongdiagonaltol;
20 } PC_ILU;
21 
22 #endif
23