Home
last modified time | relevance | path

Searched refs:shiftamount (Results 1 – 25 of 29) sorted by relevance

12

/petsc/src/ksp/pc/impls/factor/
H A Dfactimpl.c32 …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 Dfactor.c180 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 Dbaijfact13.c23 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 Dbaijfact11.c26 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 Dbaijfact9.c27 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 Dbaijfact.c17 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 Dbaijfact7.c26 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 Dbaijfact5.c29 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 Dbaijfact2.c94 …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 Dsbaijfact4.c14 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_3_NaturalOrdering()
H A Dsbaijfact3.c13 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_3()
H A Dsbaijfact5.c15 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_4_NaturalOrdering()
H A Dsbaijfact6.c14 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_4()
H A Dsbaijfact8.c14 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_5_NaturalOrdering()
H A Dsbaijfact7.c13 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_5()
H A Dsbaijfact.c874 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 Dsbaijfact10.c22 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_6_NaturalOrdering()
H A Dsbaijfact9.c15 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_6()
H A Dsbaijfact12.c17 PetscReal shift = info->shiftamount; in MatCholeskyFactorNumeric_SeqSBAIJ_7_NaturalOrdering()
/petsc/src/mat/impls/aij/seq/bas/
H A Dbasfactor.c102 PetscReal shiftnz = info->shiftamount; in MatCholeskyFactorNumeric_SeqAIJ_Bas()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscmat.pxi446 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 Dcustom.h264 info->shiftamount = (PetscReal)100.0*PETSC_MACHINE_EPSILON; in MatFactorInfoDefaults()
267 info->shiftamount = (PetscReal)0.0; in MatFactorInfoDefaults()
/petsc/doc/changes/
H A D31.md104 \<shiftamount>.
/petsc/src/mat/tests/
H A Dex76.c183 factinfo.shiftamount = 0.1; in main()
/petsc/include/petsc/private/
H A Dmatimpl.h797 if (!sctx->nshift) sctx->shift_amount = info->shiftamount; in MatPivotCheck_nz()
836 sctx->pv += info->shiftamount; in MatPivotCheck_inblocks()

12