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 PetscBool inplace; /* in-place ILU factorization */ 14 PetscBool reuseordering; /* reuses previous reordering computed */ 15 16 PetscBool reusefill; /* reuse fill from previous ILUDT */ 17 PetscReal actualfill; /* expected fill in factorization */ 18 PetscBool nonzerosalongdiagonal; 19 PetscReal nonzerosalongdiagonaltol; 20 } PC_ILU; 21 22 #endif 23