xref: /petsc/src/ksp/pc/impls/factor/lu/lu.h (revision 84df9cb40eca90ea9b18a456fab7a4ecc7f6c1a4)
1 /*
2    Private data structure for LU preconditioner.
3 */
4 #if !defined(__LU_H)
5 #define __LU_H
6 
7 #include <../src/ksp/pc/impls/factor/factor.h>
8 
9 typedef struct {
10   PC_Factor   hdr;
11   PetscReal   actualfill;       /* actual fill in factor */
12   PetscBool   inplace;          /* flag indicating in-place factorization */
13   IS          row,col;          /* index sets used for reordering */
14   PetscBool   reuseordering;    /* reuses previous reordering computed */
15   PetscBool   reusefill;        /* reuse fill from previous LU */
16   PetscBool   nonzerosalongdiagonal;
17   PetscReal   nonzerosalongdiagonaltol;
18 } PC_LU;
19 
20 #endif
21