Lines Matching refs:PC_Factor

9   PC_Factor hdr;
32 if (dir->hdr.reusefill && pc->setupcalled) ((PC_Factor *)dir)->info.fill = dir->hdr.actualfill; in PCSetUp_Cholesky()
47 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)dir)->ordering, &dir->row, &dir->col)); in PCSetUp_Cholesky()
51 PetscCall(MatCholeskyFactor(pc->pmat, dir->row, &((PC_Factor *)dir)->info)); in PCSetUp_Cholesky()
58 ((PC_Factor *)dir)->fact = pc->pmat; in PCSetUp_Cholesky()
66 PetscCall(MatFactorGetCanUseOrdering(((PC_Factor *)dir)->fact, &canuseordering)); in PCSetUp_Cholesky()
71 PetscCall(PetscStrcmp(((PC_Factor *)dir)->ordering, MATORDERINGEXTERNAL, &external)); in PCSetUp_Cholesky()
73 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)dir)->ordering, &dir->row, &dir->col)); in PCSetUp_Cholesky()
90 …PetscCall(MatCholeskyFactorSymbolic(((PC_Factor *)dir)->fact, pc->pmat, dir->row, &((PC_Factor *)d… in PCSetUp_Cholesky()
91 PetscCall(MatGetInfo(((PC_Factor *)dir)->fact, MAT_LOCAL, &info)); in PCSetUp_Cholesky()
94 PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)); in PCSetUp_Cholesky()
99 PetscCall(MatFactorGetCanUseOrdering(((PC_Factor *)dir)->fact, &canuseordering)); in PCSetUp_Cholesky()
105 PetscCall(PetscStrcmp(((PC_Factor *)dir)->ordering, MATORDERINGEXTERNAL, &external)); in PCSetUp_Cholesky()
107 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)dir)->ordering, &dir->row, &dir->col)); in PCSetUp_Cholesky()
120 …PetscCall(MatCholeskyFactorSymbolic(((PC_Factor *)dir)->fact, pc->pmat, dir->row, &((PC_Factor *)d… in PCSetUp_Cholesky()
121 PetscCall(MatGetInfo(((PC_Factor *)dir)->fact, MAT_LOCAL, &info)); in PCSetUp_Cholesky()
124 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_Cholesky()
126 PetscCall(MatFactorClearError(((PC_Factor *)dir)->fact)); in PCSetUp_Cholesky()
130 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_Cholesky()
136 …PetscCall(MatCholeskyFactorNumeric(((PC_Factor *)dir)->fact, pc->pmat, &((PC_Factor *)dir)->info)); in PCSetUp_Cholesky()
137 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_Cholesky()
146 PetscCall(MatFactorGetSolverType(((PC_Factor *)dir)->fact, &solverpackage)); in PCSetUp_Cholesky()
157 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_Cholesky()
169 PetscCall(PetscFree(((PC_Factor *)dir)->ordering)); in PCDestroy_Cholesky()
170 PetscCall(PetscFree(((PC_Factor *)dir)->solvertype)); in PCDestroy_Cholesky()
184 PetscCall(MatSolve(((PC_Factor *)dir)->fact, x, y)); in PCApply_Cholesky()
197 PetscCall(MatMatSolve(((PC_Factor *)dir)->fact, X, Y)); in PCMatApply_Cholesky()
210 PetscCall(MatForwardSolve(((PC_Factor *)dir)->fact, x, y)); in PCApplySymmetricLeft_Cholesky()
223 PetscCall(MatBackwardSolve(((PC_Factor *)dir)->fact, x, y)); in PCApplySymmetricRight_Cholesky()
236 PetscCall(MatSolveTranspose(((PC_Factor *)dir)->fact, x, y)); in PCApplyTranspose_Cholesky()
249 PetscCall(MatMatSolveTranspose(((PC_Factor *)dir)->fact, X, Y)); in PCMatApplyTranspose_Cholesky()
320 ((PC_Factor *)dir)->info.fill = 5.0; in PCCreate_Cholesky()