Actual source code: ilu.h

  1: /*
  2:    Private data structure for ILU preconditioner.
  3: */
  4: #pragma once

  6: #include <../src/ksp/pc/impls/factor/factor.h>

  8: typedef struct {
  9:   PC_Factor hdr;
 10:   IS        row, col; /* row and column permutations for reordering */
 11:   void     *implctx;  /* private implementation context */
 12:   PetscBool nonzerosalongdiagonal;
 13:   PetscReal nonzerosalongdiagonaltol;
 14: } PC_ILU;