1: /*
2: Private data structure for ILU preconditioner.
3: */
7: #include petscmat.h
9: typedef struct {
10: Mat fact; /* factored matrix */
11: MatOrderingType ordering; /* matrix reordering */
12: IS row,col; /* row and column permutations for reordering */
13: void *implctx; /* private implementation context */
14: PetscTruth inplace; /* in-place ILU factorization */
15: PetscTruth reuseordering; /* reuses previous reordering computed */
17: PetscTruth usedt; /* use drop tolerance form of ILU */
18: PetscTruth reusefill; /* reuse fill from previous ILUDT */
19: PetscReal actualfill; /* expected fill in factorization */
20: MatFactorInfo info;
21: PetscTruth nonzerosalongdiagonal;
22: PetscReal nonzerosalongdiagonaltol;
23: } PC_ILU;
25: #endif