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 } PC_LU; 21 22 #endif 23