Lines Matching refs:factor

216   PC_Factor        *factor = (PC_Factor *)pc->data;  in PCSetFromOptions_Factor()  local
227 …", "Expected non-zeros in factored matrix", "PCFactorSetFill", factor->info.fill, &factor->info.fi… in PCSetFromOptions_Factor()
229 … diagonal", "PCFactorSetShiftType", MatFactorShiftTypes, (PetscEnum)(int)factor->info.shifttype, &… in PCSetFromOptions_Factor()
231 …ount", "Shift added to diagonal", "PCFactorSetShiftAmount", factor->info.shiftamount, &factor->inf… in PCSetFromOptions_Factor()
233 …ot is considered zero if less than", "PCFactorSetZeroPivot", factor->info.zeropivot, &factor->info… in PCSetFromOptions_Factor()
234 …(used only for some factorization)", "PCFactorSetColumnPivot", factor->info.dtcol, &factor->info.d… in PCSetFromOptions_Factor()
236 …ide matrix dense blocks for BAIJ and SBAIJ", "PCFactorSetPivotInBlocks", factor->info.pivotinblock… in PCSetFromOptions_Factor()
245 …actor_mat_solver_type", "Specific direct solver to use", "MatGetFactor", factor->solvertype, solve… in PCSetFromOptions_Factor()
249 …uce nonzeros in factored matrix", "PCFactorSetMatOrderingType", ordlist, factor->ordering, tname, … in PCSetFromOptions_Factor()
251 …ation on host (with device matrix types)", "MatGetFactor", factor->info.factoronhost, &factor->inf… in PCSetFromOptions_Factor()
252 …ith the factor (with device matrix types)", "MatGetFactor", factor->info.solveonhost, &factor->inf… in PCSetFromOptions_Factor()
258 PC_Factor *factor = (PC_Factor *)pc->data; in PCView_Factor() local
268 if (factor->inplace) { in PCView_Factor()
274 …if (factor->reusefill) PetscCall(PetscViewerASCIIPrintf(viewer, " Reusing fill from past factoriz… in PCView_Factor()
275 …if (factor->reuseordering) PetscCall(PetscViewerASCIIPrintf(viewer, " Reusing reordering from pas… in PCView_Factor()
276 if (factor->factortype == MAT_FACTOR_ILU || factor->factortype == MAT_FACTOR_ICC) { in PCView_Factor()
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 …PetscCall(PetscViewerASCIIPrintf(viewer, " tolerance for zero pivot %g\n", (double)factor->info.z… in PCView_Factor()
289 …if (MatFactorShiftTypesDetail[(int)factor->info.shifttype]) { /* Only print when using a nontrivia… in PCView_Factor()
290 …sing %s [%s]\n", MatFactorShiftTypesDetail[(int)factor->info.shifttype], MatFactorShiftTypes[(int) in PCView_Factor()
293 if (factor->fact) { in PCView_Factor()
294 PetscCall(MatFactorGetCanUseOrdering(factor->fact, &canuseordering)); in PCView_Factor()
296 else ordering = factor->ordering; in PCView_Factor()
298 if (!factor->fact->assembled) { in PCView_Factor()
299 … PetscCall(PetscViewerASCIIPrintf(viewer, " matrix solver type: %s\n", factor->fact->solvertype)); in PCView_Factor()
302 PetscCall(MatGetInfo(factor->fact, MAT_LOCAL, &info)); in PCView_Factor()
310 PetscCall(MatView(factor->fact, viewer)); in PCView_Factor()
320 PetscCall(MatGetFactorType(factor->fact, &t)); in PCView_Factor()
321 …gSPrintf(viewer, " lvls=%" PetscInt_FMT ",order=%s", (PetscInt)factor->info.levels, factor->orderi… in PCView_Factor()