Lines Matching refs:PC_Factor
22 if (!ilu->hdr.inplace) PetscCall(MatDestroy(&((PC_Factor *)ilu)->fact)); in PCReset_ILU()
33 …scCheck(!pc->setupcalled || !(((PC_Factor *)ilu)->info.dt != dt || ((PC_Factor *)ilu)->info.dtcol … in PCFactorSetDropTolerance_ILU()
34 ((PC_Factor *)ilu)->info.dt = dt; in PCFactorSetDropTolerance_ILU()
35 ((PC_Factor *)ilu)->info.dtcol = dtcol; in PCFactorSetDropTolerance_ILU()
36 ((PC_Factor *)ilu)->info.dtcount = dtcount; in PCFactorSetDropTolerance_ILU()
37 ((PC_Factor *)ilu)->info.usedt = 1.0; in PCFactorSetDropTolerance_ILU()
52 …"-pc_factor_levels", "levels of fill", "PCFactorSetLevels", (PetscInt)((PC_Factor *)ilu)->info.lev… in PCSetFromOptions_ILU()
53 if (flg) ((PC_Factor *)ilu)->info.levels = itmp; in PCSetFromOptions_ILU()
55 …llow fill into empty diagonal entry", "PCFactorSetAllowDiagonalFill", ((PC_Factor *)ilu)->info.dia… in PCSetFromOptions_ILU()
56 if (set) ((PC_Factor *)ilu)->info.diagonal_fill = (PetscReal)flg; in PCSetFromOptions_ILU()
80 if (((PC_Factor *)ilu)->info.shifttype == (PetscReal)MAT_SHIFT_NONZERO) { in PCSetUp_ILU()
85 ((PC_Factor *)ilu)->info.shifttype = (PetscReal)MAT_SHIFT_INBLOCKS; in PCSetUp_ILU()
101 PetscCall(MatDestroy(&((PC_Factor *)ilu)->fact)); in PCSetUp_ILU()
102 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)ilu)->ordering, &ilu->row, &ilu->col)); in PCSetUp_ILU()
107 ((PC_Factor *)ilu)->info.fill = 1.0; in PCSetUp_ILU()
108 ((PC_Factor *)ilu)->info.diagonal_fill = 0.0; in PCSetUp_ILU()
110 PetscCall(MatILUFactor(pc->pmat, ilu->row, ilu->col, &((PC_Factor *)ilu)->info)); in PCSetUp_ILU()
117 ((PC_Factor *)ilu)->fact = pc->pmat; in PCSetUp_ILU()
126 PetscCall(MatFactorGetCanUseOrdering(((PC_Factor *)ilu)->fact, &canuseordering)); in PCSetUp_ILU()
129 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)ilu)->ordering, &ilu->row, &ilu->col)); in PCSetUp_ILU()
133 …PetscCall(MatILUFactorSymbolic(((PC_Factor *)ilu)->fact, pc->pmat, ilu->row, ilu->col, &((PC_Facto… in PCSetUp_ILU()
134 PetscCall(MatGetInfo(((PC_Factor *)ilu)->fact, MAT_LOCAL, &info)); in PCSetUp_ILU()
137 PetscCall(MatDestroy(&((PC_Factor *)ilu)->fact)); in PCSetUp_ILU()
142 PetscCall(MatFactorGetCanUseOrdering(((PC_Factor *)ilu)->fact, &canuseordering)); in PCSetUp_ILU()
148 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)ilu)->ordering, &ilu->row, &ilu->col)); in PCSetUp_ILU()
153 …PetscCall(MatILUFactorSymbolic(((PC_Factor *)ilu)->fact, pc->pmat, ilu->row, ilu->col, &((PC_Facto… in PCSetUp_ILU()
154 PetscCall(MatGetInfo(((PC_Factor *)ilu)->fact, MAT_LOCAL, &info)); in PCSetUp_ILU()
157 PetscCall(MatFactorGetError(((PC_Factor *)ilu)->fact, &err)); in PCSetUp_ILU()
163 PetscCall(MatLUFactorNumeric(((PC_Factor *)ilu)->fact, pc->pmat, &((PC_Factor *)ilu)->info)); in PCSetUp_ILU()
164 PetscCall(MatFactorGetError(((PC_Factor *)ilu)->fact, &err)); in PCSetUp_ILU()
173 PetscCall(MatFactorGetSolverType(((PC_Factor *)ilu)->fact, &solverpackage)); in PCSetUp_ILU()
185 PetscCall(PetscFree(((PC_Factor *)ilu)->solvertype)); in PCDestroy_ILU()
186 PetscCall(PetscFree(((PC_Factor *)ilu)->ordering)); in PCDestroy_ILU()
197 PetscCall(MatSolve(((PC_Factor *)ilu)->fact, x, y)); in PCApply_ILU()
206 PetscCall(MatMatSolve(((PC_Factor *)ilu)->fact, X, Y)); in PCMatApply_ILU()
215 PetscCall(MatSolveTranspose(((PC_Factor *)ilu)->fact, x, y)); in PCApplyTranspose_ILU()
224 PetscCall(MatMatSolveTranspose(((PC_Factor *)ilu)->fact, X, Y)); in PCMatApplyTranspose_ILU()
233 PetscCall(MatForwardSolve(((PC_Factor *)icc)->fact, x, y)); in PCApplySymmetricLeft_ILU()
242 PetscCall(MatBackwardSolve(((PC_Factor *)icc)->fact, x, y)); in PCApplySymmetricRight_ILU()
292 ((PC_Factor *)ilu)->info.levels = 0.; in PCCreate_ILU()
293 ((PC_Factor *)ilu)->info.fill = 1.0; in PCCreate_ILU()
296 ((PC_Factor *)ilu)->info.dt = PETSC_DEFAULT; in PCCreate_ILU()
297 ((PC_Factor *)ilu)->info.dtcount = PETSC_DEFAULT; in PCCreate_ILU()
298 ((PC_Factor *)ilu)->info.dtcol = PETSC_DEFAULT; in PCCreate_ILU()