Lines Matching refs:icc
5 PC_ICC *icc = (PC_ICC *)pc->data; in PCSetUp_ICC() local
22 PetscCall(MatFactorGetCanUseOrdering(((PC_Factor *)icc)->fact, &canuseordering)); in PCSetUp_ICC()
25 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)icc)->ordering, &perm, &cperm)); in PCSetUp_ICC()
27 …PetscCall(MatICCFactorSymbolic(((PC_Factor *)icc)->fact, pc->pmat, perm, &((PC_Factor *)icc)->info… in PCSetUp_ICC()
29 PetscCall(MatDestroy(&((PC_Factor *)icc)->fact)); in PCSetUp_ICC()
31 PetscCall(MatFactorGetCanUseOrdering(((PC_Factor *)icc)->fact, &canuseordering)); in PCSetUp_ICC()
34 PetscCall(MatGetOrdering(pc->pmat, ((PC_Factor *)icc)->ordering, &perm, &cperm)); in PCSetUp_ICC()
36 …PetscCall(MatICCFactorSymbolic(((PC_Factor *)icc)->fact, pc->pmat, perm, &((PC_Factor *)icc)->info… in PCSetUp_ICC()
38 PetscCall(MatGetInfo(((PC_Factor *)icc)->fact, MAT_LOCAL, &info)); in PCSetUp_ICC()
39 icc->hdr.actualfill = info.fill_ratio_needed; in PCSetUp_ICC()
44 PetscCall(MatFactorGetError(((PC_Factor *)icc)->fact, &err)); in PCSetUp_ICC()
50 …PetscCall(MatCholeskyFactorNumeric(((PC_Factor *)icc)->fact, pc->pmat, &((PC_Factor *)icc)->info)); in PCSetUp_ICC()
51 PetscCall(MatFactorGetError(((PC_Factor *)icc)->fact, &err)); in PCSetUp_ICC()
60 PetscCall(MatFactorGetSolverType(((PC_Factor *)icc)->fact, &solverpackage)); in PCSetUp_ICC()
68 PC_ICC *icc = (PC_ICC *)pc->data; in PCReset_ICC() local
71 PetscCall(MatDestroy(&((PC_Factor *)icc)->fact)); in PCReset_ICC()
77 PC_ICC *icc = (PC_ICC *)pc->data; in PCDestroy_ICC() local
81 PetscCall(PetscFree(((PC_Factor *)icc)->ordering)); in PCDestroy_ICC()
82 PetscCall(PetscFree(((PC_Factor *)icc)->solvertype)); in PCDestroy_ICC()
90 PC_ICC *icc = (PC_ICC *)pc->data; in PCApply_ICC() local
93 PetscCall(MatSolve(((PC_Factor *)icc)->fact, x, y)); in PCApply_ICC()
99 PC_ICC *icc = (PC_ICC *)pc->data; in PCMatApply_ICC() local
102 PetscCall(MatMatSolve(((PC_Factor *)icc)->fact, X, Y)); in PCMatApply_ICC()
108 PC_ICC *icc = (PC_ICC *)pc->data; in PCApplySymmetricLeft_ICC() local
111 PetscCall(MatForwardSolve(((PC_Factor *)icc)->fact, x, y)); in PCApplySymmetricLeft_ICC()
117 PC_ICC *icc = (PC_ICC *)pc->data; in PCApplySymmetricRight_ICC() local
120 PetscCall(MatBackwardSolve(((PC_Factor *)icc)->fact, x, y)); in PCApplySymmetricRight_ICC()
126 PC_ICC *icc = (PC_ICC *)pc->data; in PCSetFromOptions_ICC() local
134 …ls", "levels of fill", "PCFactorSetLevels", ((PC_Factor *)icc)->info.levels, &((PC_Factor *)icc)->… in PCSetFromOptions_ICC()
174 PC_ICC *icc; in PCCreate_ICC() local
177 PetscCall(PetscNew(&icc)); in PCCreate_ICC()
178 pc->data = (void *)icc; in PCCreate_ICC()
181 ((PC_Factor *)icc)->info.fill = 1.0; in PCCreate_ICC()
182 ((PC_Factor *)icc)->info.dtcol = PETSC_DEFAULT; in PCCreate_ICC()
183 ((PC_Factor *)icc)->info.shifttype = (PetscReal)MAT_SHIFT_POSITIVE_DEFINITE; in PCCreate_ICC()