xref: /petsc/src/ksp/pc/impls/factor/lu/lu.h (revision 7c4f633dc6bb6149cca88d301ead35a99e103cbb)
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