1 /* 2 Private data structure for ILU preconditioner. 3 */ 4 #if !defined(__ILU_H) 5 #define __ILU_H 6 7 #include "petscmat.h" 8 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 */ 16 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; 24 25 #endif 26