Lines Matching refs:fact

34     ((PC_Factor *)dir)->fact = pc->pmat;  in PCSetUp_QR()
39 …!((PC_Factor *)dir)->fact) PetscCall(MatGetFactor(pc->pmat, ((PC_Factor *)dir)->solvertype, MAT_FA… in PCSetUp_QR()
40 …PetscCall(MatQRFactorSymbolic(((PC_Factor *)dir)->fact, pc->pmat, dir->col, &((PC_Factor *)dir)->i… in PCSetUp_QR()
41 PetscCall(MatGetInfo(((PC_Factor *)dir)->fact, MAT_LOCAL, &info)); in PCSetUp_QR()
44 …PetscCall(MatQRFactorSymbolic(((PC_Factor *)dir)->fact, pc->pmat, dir->col, &((PC_Factor *)dir)->i… in PCSetUp_QR()
45 PetscCall(MatGetInfo(((PC_Factor *)dir)->fact, MAT_LOCAL, &info)); in PCSetUp_QR()
48 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_QR()
50 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_QR()
56 PetscCall(MatQRFactorNumeric(((PC_Factor *)dir)->fact, pc->pmat, &((PC_Factor *)dir)->info)); in PCSetUp_QR()
57 PetscCall(MatFactorGetError(((PC_Factor *)dir)->fact, &err)); in PCSetUp_QR()
66 PetscCall(MatFactorGetSolverType(((PC_Factor *)dir)->fact, &solverpackage)); in PCSetUp_QR()
77 …if (!dir->hdr.inplace && ((PC_Factor *)dir)->fact) PetscCall(MatDestroy(&((PC_Factor *)dir)->fact)… in PCReset_QR()
98 Mat fact; in PCApply_QR() local
101 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCApply_QR()
102 PetscCall(MatSolve(fact, x, y)); in PCApply_QR()
109 Mat fact; in PCMatApply_QR() local
112 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCMatApply_QR()
113 PetscCall(MatMatSolve(fact, X, Y)); in PCMatApply_QR()
120 Mat fact; in PCApplyTranspose_QR() local
123 fact = dir->hdr.inplace ? pc->pmat : ((PC_Factor *)dir)->fact; in PCApplyTranspose_QR()
124 PetscCall(MatSolveTranspose(fact, x, y)); in PCApplyTranspose_QR()