| /petsc/src/ksp/pc/impls/factor/ |
| H A D | factimpl.c | 32 …ONZERO || shifttype == MAT_SHIFT_INBLOCKS) && dir->info.shiftamount == 0.0) dir->info.shiftamount … in PCFactorSetShiftType_Factor() 37 PetscErrorCode PCFactorSetShiftAmount_Factor(PC pc, PetscReal shiftamount) in PCFactorSetShiftAmount_Factor() argument 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() 109 *shift = ilu->info.shiftamount; in PCFactorGetShiftAmount_Factor() 231 …ded to diagonal", "PCFactorSetShiftAmount", factor->info.shiftamount, &factor->info.shiftamount, N… in PCSetFromOptions_Factor()
|
| H A D | factor.c | 180 PetscErrorCode PCFactorSetShiftAmount(PC pc, PetscReal shiftamount) in PCFactorSetShiftAmount() argument 184 PetscValidLogicalCollectiveReal(pc, shiftamount, 2); in PCFactorSetShiftAmount() 185 PetscTryMethod(pc, "PCFactorSetShiftAmount_C", (PC, PetscReal), (pc, shiftamount)); in PCFactorSetShiftAmount() 699 fact->info.shiftamount = 100.0 * PETSC_MACHINE_EPSILON; in PCFactorInitialize()
|
| /petsc/src/mat/impls/baij/seq/ |
| H A D | baijfact13.c | 23 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_3_inplace() 178 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_3() 283 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_3_NaturalOrdering_inplace() 430 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_3_NaturalOrdering()
|
| H A D | baijfact11.c | 26 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_4_inplace() 251 shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_4() 357 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_4_NaturalOrdering_inplace() 573 shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_4_NaturalOrdering()
|
| H A D | baijfact9.c | 27 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_5_inplace() 318 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_5() 429 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_5_NaturalOrdering_inplace() 685 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_5_NaturalOrdering() 788 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_9_NaturalOrdering()
|
| H A D | baijfact.c | 17 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_2() 127 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_2_NaturalOrdering() 236 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_2_inplace() 347 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_2_NaturalOrdering_inplace() 607 …locks applied %" PetscInt_FMT ", each shift_amount %g\n", sctx.nshift, (double)info->shiftamount)); in MatLUFactorNumeric_SeqBAIJ_1()
|
| H A D | baijfact7.c | 26 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_6_inplace() 376 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_6() 488 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_6_NaturalOrdering_inplace() 830 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_6_NaturalOrdering()
|
| H A D | baijfact5.c | 29 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_7_inplace() 472 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_7() 587 PetscReal shift = info->shiftamount; in MatILUFactorNumeric_SeqBAIJ_7_NaturalOrdering_inplace() 1022 PetscReal shift = info->shiftamount; in MatLUFactorNumeric_SeqBAIJ_7_NaturalOrdering()
|
| H A D | baijfact2.c | 94 …PetscCall(PetscKernel_A_gets_inverse_A_15(pv, ipvt, work, info->shiftamount, allowzeropivot, &zero… in MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | sbaijfact4.c | 14 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
|
| H A D | sbaijfact3.c | 13 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_3()
|
| H A D | sbaijfact5.c | 15 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering()
|
| H A D | sbaijfact6.c | 14 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_4()
|
| H A D | sbaijfact8.c | 14 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering()
|
| H A D | sbaijfact7.c | 13 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_5()
|
| H A D | sbaijfact.c | 874 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_2() 1053 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_2_NaturalOrdering() 1493 …locks applied %" PetscInt_FMT ", each shift_amount %g\n", sctx.nshift, (double)info->shiftamount)); in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering()
|
| H A D | sbaijfact10.c | 22 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_6_NaturalOrdering()
|
| H A D | sbaijfact9.c | 15 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_6()
|
| H A D | sbaijfact12.c | 17 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_7_NaturalOrdering()
|
| /petsc/src/mat/impls/aij/seq/bas/ |
| H A D | basfactor.c | 102 PetscReal shiftnz = info->shiftamount; in MatCholeskyFactorNumeric_SeqAIJ_Bas()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscmat.pxi | 446 PetscReal shifttype, shiftamount 1156 cdef shiftamount = options.pop('shiftamount', None) 1157 if shiftamount is not None: 1158 info.shiftamount = asReal(shiftamount)
|
| /petsc/src/binding/petsc4py/src/lib-petsc/ |
| H A D | custom.h | 264 info->shiftamount = (PetscReal)100.0*PETSC_MACHINE_EPSILON; in MatFactorInfoDefaults() 267 info->shiftamount = (PetscReal)0.0; in MatFactorInfoDefaults()
|
| /petsc/doc/changes/ |
| H A D | 31.md | 104 \<shiftamount>.
|
| /petsc/src/mat/tests/ |
| H A D | ex76.c | 183 factinfo.shiftamount = 0.1; in main()
|
| /petsc/include/petsc/private/ |
| H A D | matimpl.h | 797 if (!sctx->nshift) sctx->shift_amount = info->shiftamount; in MatPivotCheck_nz() 836 sctx->pv += info->shiftamount; in MatPivotCheck_inblocks()
|