Lines Matching refs:PC_Factor

49   if (dir->hdr.reusefill && pc->setupcalled) ((PC_Factor *)dir)->info.fill = dir->hdr.actualfill;  in PCSetUp_LU()
64 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)dir)->ordering, &dir->row, &dir->col)); in PCSetUp_LU()
65 PetscCall(MatLUFactor(pc->pmat, dir->row, dir->col, &((PC_Factor *)dir)->info)); in PCSetUp_LU()
72 ((PC_Factor *)dir)->fact = pc->pmat; in PCSetUp_LU()
80 PetscCall(MatFactorGetCanUseOrdering(((PC_Factor *)dir)->fact, &canuseordering)); in PCSetUp_LU()
85 PetscCall(PetscStrcmp(((PC_Factor *)dir)->ordering, MATORDERINGEXTERNAL, &external)); in PCSetUp_LU()
87 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)dir)->ordering, &dir->row, &dir->col)); in PCSetUp_LU()
91 …PetscCall(MatLUFactorSymbolic(((PC_Factor *)dir)->fact, pc->pmat, dir->row, dir->col, &((PC_Factor in PCSetUp_LU()
92 PetscCall(MatGetInfo(((PC_Factor *)dir)->fact, MAT_LOCAL, &info)); in PCSetUp_LU()
97 PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)); in PCSetUp_LU()
100 PetscCall(MatFactorGetCanUseOrdering(((PC_Factor *)dir)->fact, &canuseordering)); in PCSetUp_LU()
107 PetscCall(PetscStrcmp(((PC_Factor *)dir)->ordering, MATORDERINGEXTERNAL, &external)); in PCSetUp_LU()
109 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)dir)->ordering, &dir->row, &dir->col)); in PCSetUp_LU()
114 …PetscCall(MatLUFactorSymbolic(((PC_Factor *)dir)->fact, pc->pmat, dir->row, dir->col, &((PC_Factor in PCSetUp_LU()
115 PetscCall(MatGetInfo(((PC_Factor *)dir)->fact, MAT_LOCAL, &info)); in PCSetUp_LU()
118 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_LU()
120 PetscCall(MatFactorClearError(((PC_Factor *)dir)->fact)); in PCSetUp_LU()
124 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_LU()
130 PetscCall(MatLUFactorNumeric(((PC_Factor *)dir)->fact, pc->pmat, &((PC_Factor *)dir)->info)); in PCSetUp_LU()
131 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_LU()
140 PetscCall(MatFactorGetSolverType(((PC_Factor *)dir)->fact, &solverpackage)); in PCSetUp_LU()
151 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_LU()
163 PetscCall(PetscFree(((PC_Factor *)dir)->ordering)); in PCDestroy_LU()
164 PetscCall(PetscFree(((PC_Factor *)dir)->solvertype)); in PCDestroy_LU()
178 PetscCall(MatSolve(((PC_Factor *)dir)->fact, x, y)); in PCApply_LU()
191 PetscCall(MatMatSolve(((PC_Factor *)dir)->fact, X, Y)); in PCMatApply_LU()
204 PetscCall(MatSolveTranspose(((PC_Factor *)dir)->fact, x, y)); in PCApplyTranspose_LU()
217 PetscCall(MatMatSolveTranspose(((PC_Factor *)dir)->fact, X, Y)); in PCMatApplyTranspose_LU()
270 ((PC_Factor *)dir)->info.fill = 5.0; in PCCreate_LU()
271 …((PC_Factor *)dir)->info.dtcol = 1.e-6; /* default to pivoting; this is only thing PETSc LU su… in PCCreate_LU()
272 ((PC_Factor *)dir)->info.shifttype = (PetscReal)MAT_SHIFT_NONE; in PCCreate_LU()