Lines Matching refs:dir

26   PC_Factor *dir = (PC_Factor *)pc->data;  in PCFactorSetShiftType_Factor()  local
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 …== MAT_SHIFT_NONZERO || shifttype == MAT_SHIFT_INBLOCKS) && dir->info.shiftamount == 0.0) dir->inf… in PCFactorSetShiftType_Factor()
39 PC_Factor *dir = (PC_Factor *)pc->data; in PCFactorSetShiftAmount_Factor() local
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()
63 PC_Factor *dir = (PC_Factor *)pc->data; in PCFactorSetFill_Factor() local
66 dir->info.fill = fill; in PCFactorSetFill_Factor()
72 PC_Factor *dir = (PC_Factor *)pc->data; in PCFactorSetMatOrderingType_Factor() local
77 PetscCall(PetscFree(dir->ordering)); in PCFactorSetMatOrderingType_Factor()
78 PetscCall(PetscStrallocpy(ordering, (char **)&dir->ordering)); in PCFactorSetMatOrderingType_Factor()
80 PetscCall(PetscStrcmp(dir->ordering, ordering, &flg)); in PCFactorSetMatOrderingType_Factor()
138 PC_Factor *dir = (PC_Factor *)pc->data; in PCFactorSetAllowDiagonalFill_Factor() local
141 dir->info.diagonal_fill = (PetscReal)flg; in PCFactorSetAllowDiagonalFill_Factor()
147 PC_Factor *dir = (PC_Factor *)pc->data; in PCFactorGetAllowDiagonalFill_Factor() local
150 *flg = dir->info.diagonal_fill ? PETSC_TRUE : PETSC_FALSE; in PCFactorGetAllowDiagonalFill_Factor()
156 PC_Factor *dir = (PC_Factor *)pc->data; in PCFactorSetPivotInBlocks_Factor() local
159 dir->info.pivotinblocks = pivot ? 1.0 : 0.0; in PCFactorSetPivotInBlocks_Factor()
206 PC_Factor *dir = (PC_Factor *)pc->data; in PCFactorSetColumnPivot_Factor() local
210 dir->info.dtcol = dtcol; in PCFactorSetColumnPivot_Factor()