| /petsc/src/ksp/pc/impls/sor/ |
| H A D | sor.c | 8 PetscInt lits; /* local inner iterations, number of sweeps applied by the local matrix mat->A */ member 33 PetscCall(MatSOR(pc->pmat, x, jac->omega, (MatSORType)flag, jac->fshift, jac->its, jac->lits, y)); in PCApply_SOR() 47 PetscCall(MatSOR(pc->pmat, x, jac->omega, (MatSORType)flag, jac->fshift, jac->its, jac->lits, y)); in PCApplyTranspose_SOR() 59 PetscCall(MatSOR(pc->pmat, b, jac->omega, stype, jac->fshift, its * jac->its, jac->lits, y)); in PCApplyRichardson_SOR() 78 …lits", "number of local inner SOR iterations", "PCSORSetIterations", jac->lits, &jac->lits, NULL)); in PCSetFromOptions_SOR() 116 …al iterations = %" PetscInt_FMT ", omega = %g\n", sortype, jac->its, jac->lits, (double)jac->omega… in PCView_SOR() 140 static PetscErrorCode PCSORSetIterations_SOR(PC pc, PetscInt its, PetscInt lits) in PCSORSetIterations_SOR() argument 146 jac->lits = lits; in PCSORSetIterations_SOR() 168 static PetscErrorCode PCSORGetIterations_SOR(PC pc, PetscInt *its, PetscInt *lits) in PCSORGetIterations_SOR() argument 174 if (lits) *lits = jac->lits; in PCSORGetIterations_SOR() [all …]
|
| /petsc/src/snes/tutorials/ |
| H A D | ex25.c | 31 PetscInt its, lits; in main() local 52 PetscCall(SNESGetLinearSolveIterations(snes, &lits)); in main() 53 litspit = ((PetscReal)lits) / ((PetscReal)its); in main() 55 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "Number of Linear iterations = %" PetscInt_FMT "\n", lits)… in main()
|
| H A D | ex18.c | 55 PetscInt its, lits; in main() local 96 PetscCall(SNESGetLinearSolveIterations(snes, &lits)); in main() 97 litspit = ((PetscReal)lits) / ((PetscReal)its); in main() 99 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "Number of Linear iterations = %" PetscInt_FMT "\n", lits)… in main()
|
| H A D | ex5.c | 627 PetscInt lits, slits; in main() local 731 PetscCall(KSPGetTotalIterations(ksp, &lits)); in main() 732 …lits == slits, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "Number of total linear iterations reported by SN… in main()
|
| H A D | ex55.c | 571 PetscInt lits, slits; in main() local 698 PetscCall(KSPGetTotalIterations(ksp, &lits)); in main() 699 …lits == slits, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "Number of total linear iterations reported by SN… in main()
|
| /petsc/src/snes/impls/ksponly/ |
| H A D | ksponly.c | 10 PetscInt lits; in SNESSolve_KSPONLY() local 54 PetscCall(KSPGetIterationNumber(snes->ksp, &lits)); in SNESSolve_KSPONLY() 55 …fo(snes, "iter=%" PetscInt_FMT ", linear solve iterations=%" PetscInt_FMT "\n", snes->iter, lits)); in SNESSolve_KSPONLY()
|
| /petsc/src/snes/impls/ls/ |
| H A D | ls.c | 127 PetscInt maxits, i, lits; in SNESSolve_NEWTONLS() local 222 PetscCall(KSPGetIterationNumber(snes->ksp, &lits)); in SNESSolve_NEWTONLS() 223 …fo(snes, "iter=%" PetscInt_FMT ", linear solve iterations=%" PetscInt_FMT "\n", snes->iter, lits)); in SNESSolve_NEWTONLS() 272 PetscCall(SNESLogConvergenceHistory(snes, snes->norm, lits)); in SNESSolve_NEWTONLS()
|
| /petsc/src/snes/impls/al/ |
| H A D | al.c | 286 PetscInt maxits, maxincs, lits; in SNESSolve_NEWTONAL() local 354 PetscCall(KSPGetIterationNumber(snes->ksp, &lits)); in SNESSolve_NEWTONAL() 355 …r=%" PetscInt_FMT ", tangent load linear solve iterations=%" PetscInt_FMT "\n", snes->iter, lits)); in SNESSolve_NEWTONAL() 374 PetscCall(KSPGetIterationNumber(snes->ksp, &lits)); in SNESSolve_NEWTONAL() 375 …"iter=%" PetscInt_FMT ", residual linear solve iterations=%" PetscInt_FMT "\n", snes->iter, lits)); in SNESSolve_NEWTONAL() 497 PetscCall(SNESLogConvergenceHistory(snes, snes->norm, lits)); in SNESSolve_NEWTONAL()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex24.c | 21 PetscInt i, steps, nits, lits; in main() local 81 PetscCall(TSGetKSPIterations(ts, &lits)); in main() 82 …_FMT ",%" PetscInt_FMT ") iterations to reach final time %g\n", steps, nits, lits, (double)ftime)); in main()
|
| /petsc/src/mat/impls/sbaij/seq/ |
| H A D | relax.h | 122 …A, Vec bb, PetscReal omega, MatSORType flag, PetscReal fshift, PetscInt its, PetscInt lits, Vec xx) in MatSOR_SeqSBAIJ_ushort() argument 124 …A, Vec bb, PetscReal omega, MatSORType flag, PetscReal fshift, PetscInt its, PetscInt lits, Vec xx) in MatSOR_SeqSBAIJ_ushort() 145 its = its * lits; in MatSOR_SeqSBAIJ_ushort() 146 …n requires global its %" PetscInt_FMT " and local its %" PetscInt_FMT " both positive", its, lits); in MatSOR_SeqSBAIJ_ushort()
|
| /petsc/src/snes/impls/vi/ss/ |
| H A D | viss.c | 198 PetscInt maxits, i, lits; in SNESSolve_VINEWTONSSLS() local 284 PetscCall(KSPGetIterationNumber(snes->ksp, &lits)); in SNESSolve_VINEWTONSSLS() 285 snes->linear_its += lits; in SNESSolve_VINEWTONSSLS() 286 …fo(snes, "iter=%" PetscInt_FMT ", linear solve iterations=%" PetscInt_FMT "\n", snes->iter, lits)); in SNESSolve_VINEWTONSSLS() 332 PetscCall(SNESLogConvergenceHistory(snes, snes->norm, lits)); in SNESSolve_VINEWTONSSLS()
|
| /petsc/src/tao/interface/ |
| H A D | taosolver.c | 1314 PetscErrorCode TaoGetLinearSolveIterations(Tao tao, PetscInt *lits) in TaoGetLinearSolveIterations() argument 1318 PetscAssertPointer(lits, 2); in TaoGetLinearSolveIterations() 1319 *lits = tao->ksp_tot_its; in TaoGetLinearSolveIterations() 2574 …(Tao tao, PetscReal obj[], PetscReal resid[], PetscReal cnorm[], PetscInt lits[], PetscInt na, Pet… in TaoSetConvergenceHistory() argument 2581 if (lits) PetscAssertPointer(lits, 5); in TaoSetConvergenceHistory() 2584 if (!obj && !resid && !cnorm && !lits) { in TaoSetConvergenceHistory() 2585 PetscCall(PetscCalloc4(na, &obj, na, &resid, na, &cnorm, na, &lits)); in TaoSetConvergenceHistory() 2592 tao->hist_lits = lits; in TaoSetConvergenceHistory() 2633 …y(Tao tao, PetscReal **obj, PetscReal **resid, PetscReal **cnorm, PetscInt **lits, PetscInt *nhist) in TaoGetConvergenceHistory() argument 2640 if (lits) *lits = tao->hist_lits; in TaoGetConvergenceHistory()
|
| /petsc/include/petsc/private/ |
| H A D | snesimpl.h | 501 PetscInt lits; \ 502 PetscCall(KSPGetIterationNumber(snes->ksp, &lits)); \ 503 snes->linear_its += lits; \
|
| /petsc/src/mat/impls/aij/seq/aijsell/ |
| H A D | aijsell.c | 187 …A, Vec bb, PetscReal omega, MatSORType flag, PetscReal fshift, PetscInt its, PetscInt lits, Vec xx) in MatSOR_SeqAIJSELL() argument 193 PetscCall(MatSOR_SeqSELL(aijsell->S, bb, omega, flag, fshift, its, lits, xx)); in MatSOR_SeqAIJSELL()
|
| /petsc/src/tao/leastsquares/tutorials/ |
| H A D | tomography.c | 52 PetscInt lits[100]; in main() local 100 PetscCall(TaoSetConvergenceHistory(tao, hist, resid, 0, lits, 100, PETSC_TRUE)); in main()
|
| H A D | cs1.c | 133 PetscInt lits[100]; in main() local 178 PetscCall(TaoSetConvergenceHistory(tao, hist, resid, 0, lits, 100, PETSC_TRUE)); in main()
|
| /petsc/src/snes/impls/vi/rs/ |
| H A D | virs.c | 299 PetscInt maxits, i, lits; in SNESSolve_VINEWTONRSLS() local 519 PetscCall(KSPGetIterationNumber(snes->ksp, &lits)); in SNESSolve_VINEWTONRSLS() 520 snes->linear_its += lits; in SNESSolve_VINEWTONRSLS() 521 …fo(snes, "iter=%" PetscInt_FMT ", linear solve iterations=%" PetscInt_FMT "\n", snes->iter, lits)); in SNESSolve_VINEWTONRSLS() 577 PetscCall(SNESLogConvergenceHistory(snes, snes->norm, lits)); in SNESSolve_VINEWTONRSLS()
|
| /petsc/src/ts/impls/pseudo/ |
| H A D | posindep.c | 85 PetscInt nits, lits, rejections = 0; in TSStep_Pseudo() local 98 PetscCall(SNESGetLinearSolveIterations(ts->snes, &lits)); in TSStep_Pseudo() 100 ts->ksp_its += lits; in TSStep_Pseudo()
|
| /petsc/src/binding/petsc4py/demo/python_types/ |
| H A D | matpython_protocol.py | 160 lits: int,
|
| /petsc/src/mat/impls/blockmat/seq/ |
| H A D | blockmat.c | 18 …A, Vec bb, PetscReal omega, MatSORType flag, PetscReal fshift, PetscInt its, PetscInt lits, Vec xx) in MatSOR_BlockMat_Symmetric() argument 32 its = its * lits; in MatSOR_BlockMat_Symmetric() 33 …n requires global its %" PetscInt_FMT " and local its %" PetscInt_FMT " both positive", its, lits); in MatSOR_BlockMat_Symmetric() 120 …A, Vec bb, PetscReal omega, MatSORType flag, PetscReal fshift, PetscInt its, PetscInt lits, Vec xx) in MatSOR_BlockMat() argument 134 its = its * lits; in MatSOR_BlockMat() 135 …n requires global its %" PetscInt_FMT " and local its %" PetscInt_FMT " both positive", its, lits); in MatSOR_BlockMat()
|
| /petsc/src/ts/impls/implicit/alpha/ |
| H A D | alpha1.c | 96 PetscInt nits, lits; in TSAlpha_SNESSolve() local 101 PetscCall(SNESGetLinearSolveIterations(ts->snes, &lits)); in TSAlpha_SNESSolve() 103 ts->ksp_its += lits; in TSAlpha_SNESSolve()
|
| /petsc/src/snes/impls/ntrdc/ |
| H A D | ntrdc.c | 301 PetscInt maxits, i, j, lits, inner_count, bs; in SNESSolve_NEWTONTRDC() local 377 PetscCall(KSPGetIterationNumber(snes->ksp, &lits)); in SNESSolve_NEWTONTRDC() 551 PetscCall(SNESLogConvergenceHistory(snes, snes->norm, lits)); in SNESSolve_NEWTONTRDC()
|
| /petsc/src/ts/impls/eimex/ |
| H A D | eimex.c | 49 PetscInt i, its, lits; in TSStage_EIMEX() local 64 PetscCall(SNESGetLinearSolveIterations(snes, &lits)); in TSStage_EIMEX() 66 ts->ksp_its += lits; in TSStage_EIMEX()
|
| /petsc/src/mat/impls/sell/mpi/ |
| H A D | mpisell.c | 1722 …n, Vec bb, PetscReal omega, MatSORType flag, PetscReal fshift, PetscInt its, PetscInt lits, Vec xx) in MatSOR_MPISELL() argument 1729 PetscCall((*mat->A->ops->sor)(mat->A, bb, omega, flag, fshift, lits, 1, xx)); in MatSOR_MPISELL() 1737 PetscCall((*mat->A->ops->sor)(mat->A, bb, omega, flag, fshift, lits, 1, xx)); in MatSOR_MPISELL() 1750 PetscCall((*mat->A->ops->sor)(mat->A, bb1, omega, SOR_SYMMETRIC_SWEEP, fshift, lits, 1, xx)); in MatSOR_MPISELL() 1754 PetscCall((*mat->A->ops->sor)(mat->A, bb, omega, flag, fshift, lits, 1, xx)); in MatSOR_MPISELL() 1766 PetscCall((*mat->A->ops->sor)(mat->A, bb1, omega, SOR_FORWARD_SWEEP, fshift, lits, 1, xx)); in MatSOR_MPISELL() 1770 PetscCall((*mat->A->ops->sor)(mat->A, bb, omega, flag, fshift, lits, 1, xx)); in MatSOR_MPISELL() 1782 PetscCall((*mat->A->ops->sor)(mat->A, bb1, omega, SOR_BACKWARD_SWEEP, fshift, lits, 1, xx)); in MatSOR_MPISELL()
|
| /petsc/src/mat/impls/shell/ftn-custom/ |
| H A D | zshellf.c | 82 …t mat, Vec b, PetscReal omega, MatSORType flg, PetscReal shift, PetscInt its, PetscInt lits, Vec x) in oursor() argument 86 …fortran_func_pointers[FORTRAN_MATOP_SOR]))(&mat, &b, &omega, &flg, &shift, &its, &lits, &x, &ierr); in oursor()
|