Searched refs:convtest (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/snes/impls/ntrdc/ |
| H A D | ntrdc.c | 10 KSPConvergenceTestFn *convtest; member 38 PetscCall((*ctx->convtest)(ksp, n, rnorm, reason, ctx->convctx)); in SNESTRDC_KSPConverged_Private() 310 KSPConvergenceTestFn *convtest; in SNESSolve_NEWTONTRDC() local 335 PetscCall(KSPGetConvergenceTest(ksp, &convtest, &convctx, &convdestroy)); in SNESSolve_NEWTONTRDC() 336 if (convtest != SNESTRDC_KSPConverged_Private) { in SNESSolve_NEWTONTRDC() 339 PetscCall(KSPGetAndClearConvergenceTest(ksp, &ctx->convtest, &ctx->convctx, &ctx->convdestroy)); in SNESSolve_NEWTONTRDC() 569 if (convtest != SNESTRDC_KSPConverged_Private) { in SNESSolve_NEWTONTRDC() 570 PetscCall(KSPGetAndClearConvergenceTest(ksp, &ctx->convtest, &ctx->convctx, &ctx->convdestroy)); in SNESSolve_NEWTONTRDC() 572 PetscCall(KSPSetConvergenceTest(ksp, convtest, convctx, convdestroy)); in SNESSolve_NEWTONTRDC()
|
| /petsc/src/snes/impls/tr/ |
| H A D | tr.c | 5 KSPConvergenceTestFn *convtest; member 71 PetscCall((*ctx->convtest)(ksp, n, rnorm, reason, ctx->convctx)); in SNESTR_KSPConverged_Private() 500 KSPConvergenceTestFn *convtest; in SNESSolve_NEWTONTR() local 529 PetscCall(KSPGetConvergenceTest(snes->ksp, &convtest, &convctx, &convdestroy)); in SNESSolve_NEWTONTR() 530 if (convtest != SNESTR_KSPConverged_Private) { in SNESSolve_NEWTONTR() 534 …PetscCall(KSPGetAndClearConvergenceTest(snes->ksp, &ctx->convtest, &ctx->convctx, &ctx->convdestro… in SNESSolve_NEWTONTR() 801 …PetscCall(KSPGetAndClearConvergenceTest(snes->ksp, &ctx->convtest, &ctx->convctx, &ctx->convdestro… in SNESSolve_NEWTONTR() 803 PetscCall(KSPSetConvergenceTest(snes->ksp, convtest, convctx, convdestroy)); in SNESSolve_NEWTONTR()
|
| /petsc/src/tao/interface/ftn-custom/ |
| H A D | ztaosolverf.c | 59 PetscFortranCallbackId convtest; member 133 …PetscObjectUseFortranCallback(tao, _cb.convtest, (Tao *, void *, PetscErrorCode *), (&tao, _ctx, &… in ourtaoconvergencetest() 249 …etFortranCallback((PetscObject)*tao, PETSC_FORTRAN_CALLBACK_CLASS, &_cb.convtest, (PetscFortranCal… in taosetconvergencetest_()
|
| /petsc/src/binding/petsc4py/src/lib-petsc/ |
| H A D | custom.h | 339 KSPConvergenceTestFn *convtest; member 359 PetscCall((*ctx->convtest)(ksp, n, rnorm, reason, ctx->convctx)); in KSPConvergedNative_Private() 393 PetscCall(KSPGetAndClearConvergenceTest(ksp, &ctx->convtest, &ctx->convctx, &ctx->convdestroy)); in KSPAddConvergenceTest()
|