Lines Matching refs:info

20   ilu->info.zeropivot = z;  in PCFactorSetZeroPivot_Factor()
29 …if (shifttype == (MatFactorShiftType)PETSC_DECIDE) dir->info.shifttype = (PetscReal)MAT_SHIFT_NONE; in PCFactorSetShiftType_Factor()
31 dir->info.shifttype = (PetscReal)shifttype; in PCFactorSetShiftType_Factor()
32 …_SHIFT_NONZERO || shifttype == MAT_SHIFT_INBLOCKS) && dir->info.shiftamount == 0.0) dir->info.shif… in PCFactorSetShiftType_Factor()
42 if (shiftamount == (PetscReal)PETSC_DECIDE) dir->info.shiftamount = 100.0 * PETSC_MACHINE_EPSILON; in PCFactorSetShiftAmount_Factor()
43 else dir->info.shiftamount = shiftamount; in PCFactorSetShiftAmount_Factor()
52 …PetscCheck(pc->setupcalled && (!ilu->info.usedt || ilu->info.dt != dt || ilu->info.dtcol != dtcol … in PCFactorSetDropTolerance_Factor()
53 ilu->info.usedt = PETSC_TRUE; in PCFactorSetDropTolerance_Factor()
54 ilu->info.dt = dt; in PCFactorSetDropTolerance_Factor()
55 ilu->info.dtcol = dtcol; in PCFactorSetDropTolerance_Factor()
56 ilu->info.dtcount = dtcount; in PCFactorSetDropTolerance_Factor()
57 ilu->info.fill = PETSC_DEFAULT; in PCFactorSetDropTolerance_Factor()
66 dir->info.fill = fill; in PCFactorSetFill_Factor()
91 *levels = ilu->info.levels; in PCFactorGetLevels_Factor()
100 *pivot = ilu->info.zeropivot; in PCFactorGetZeroPivot_Factor()
109 *shift = ilu->info.shiftamount; in PCFactorGetShiftAmount_Factor()
118 *type = (MatFactorShiftType)(int)ilu->info.shifttype; in PCFactorGetShiftType_Factor()
127 if (!pc->setupcalled) ilu->info.levels = levels; in PCFactorSetLevels_Factor()
128 else if (ilu->info.levels != levels) { in PCFactorSetLevels_Factor()
131 ilu->info.levels = levels; in PCFactorSetLevels_Factor()
132 …} else PetscCheck(!ilu->info.usedt, PetscObjectComm((PetscObject)pc), PETSC_ERR_ARG_WRONGSTATE, "C… in PCFactorSetLevels_Factor()
141 dir->info.diagonal_fill = (PetscReal)flg; in PCFactorSetAllowDiagonalFill_Factor()
150 *flg = dir->info.diagonal_fill ? PETSC_TRUE : PETSC_FALSE; in PCFactorGetAllowDiagonalFill_Factor()
159 dir->info.pivotinblocks = pivot ? 1.0 : 0.0; in PCFactorSetPivotInBlocks_Factor()
210 dir->info.dtcol = dtcol; in PCFactorSetColumnPivot_Factor()
227 …ected non-zeros in factored matrix", "PCFactorSetFill", factor->info.fill, &factor->info.fill, NUL… in PCSetFromOptions_Factor()
229 …al", "PCFactorSetShiftType", MatFactorShiftTypes, (PetscEnum)(int)factor->info.shifttype, &etmp, &… in PCSetFromOptions_Factor()
231 …"Shift added to diagonal", "PCFactorSetShiftAmount", factor->info.shiftamount, &factor->info.shift… in PCSetFromOptions_Factor()
233 …onsidered zero if less than", "PCFactorSetZeroPivot", factor->info.zeropivot, &factor->info.zeropi… in PCSetFromOptions_Factor()
234 …nly for some factorization)", "PCFactorSetColumnPivot", factor->info.dtcol, &factor->info.dtcol, &… in PCSetFromOptions_Factor()
236 …rix dense blocks for BAIJ and SBAIJ", "PCFactorSetPivotInBlocks", factor->info.pivotinblocks ? PET… in PCSetFromOptions_Factor()
251 …n host (with device matrix types)", "MatGetFactor", factor->info.factoronhost, &factor->info.facto… in PCSetFromOptions_Factor()
252 … factor (with device matrix types)", "MatGetFactor", factor->info.solveonhost, &factor->info.solve… in PCSetFromOptions_Factor()
260 MatInfo info; in PCView_Factor() local
277 if (factor->info.dt > 0) { in PCView_Factor()
278 PetscCall(PetscViewerASCIIPrintf(viewer, " drop tolerance %g\n", (double)factor->info.dt)); in PCView_Factor()
279 …ASCIIPrintf(viewer, " max nonzeros per row %" PetscInt_FMT "\n", (PetscInt)factor->info.dtcount)); in PCView_Factor()
280 …PetscViewerASCIIPrintf(viewer, " column permutation tolerance %g\n", (double)factor->info.dtcol)); in PCView_Factor()
281 } else if (factor->info.levels == 1) { in PCView_Factor()
282 …scViewerASCIIPrintf(viewer, " %" PetscInt_FMT " level of fill\n", (PetscInt)factor->info.levels)); in PCView_Factor()
284 …cViewerASCIIPrintf(viewer, " %" PetscInt_FMT " levels of fill\n", (PetscInt)factor->info.levels)); in PCView_Factor()
288 …PetscViewerASCIIPrintf(viewer, " tolerance for zero pivot %g\n", (double)factor->info.zeropivot)); in PCView_Factor()
289 …if (MatFactorShiftTypesDetail[(int)factor->info.shifttype]) { /* Only print when using a nontrivia… in PCView_Factor()
290 … [%s]\n", MatFactorShiftTypesDetail[(int)factor->info.shifttype], MatFactorShiftTypes[(int)factor-… in PCView_Factor()
302 PetscCall(MatGetInfo(factor->fact, MAT_LOCAL, &info)); in PCView_Factor()
303 …CIIPrintf(viewer, " factor fill ratio given %g, needed %g\n", info.fill_ratio_given, info.fill_ra… in PCView_Factor()
321 …ringSPrintf(viewer, " lvls=%" PetscInt_FMT ",order=%s", (PetscInt)factor->info.levels, factor->ord… in PCView_Factor()