xref: /petsc/src/ksp/pc/impls/factor/lu/lu.h (revision 7a4fe282d1b349e95b3be72d69d8dd3d3bcd7bc6)
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   PetscTruth  inplace;          /* flag indicating in-place factorization */
13   IS          row,col;          /* index sets used for reordering */
14   PetscTruth  reuseordering;    /* reuses previous reordering computed */
15   PetscTruth  reusefill;        /* reuse fill from previous LU */
16   PetscTruth  nonzerosalongdiagonal;
17   PetscReal   nonzerosalongdiagonaltol;
18 } PC_LU;
19 
20 #endif
21