Home
last modified time | relevance | path

Searched refs:postcheckctx (Results 1 – 6 of 6) sorted by relevance

/petsc/src/snes/impls/tr/
H A Dtrimpl.h48 void *postcheckctx; member
H A Dtr.c276 if (ctx) tr->postcheckctx = ctx; in SNESNewtonTRSetPostCheck()
307 if (ctx) *(void **)ctx = tr->postcheckctx; in SNESNewtonTRGetPostCheck()
379 PetscCall((*tr->postcheck)(snes, X, Y, W, changed_Y, changed_W, tr->postcheckctx)); in SNESNewtonTRPostCheck()
/petsc/src/snes/impls/ntrdc/
H A Dntrdcimpl.h41 void *postcheckctx; member
H A Dntrdc.c189 if (ctx) tr->postcheckctx = ctx; in SNESNewtonTRDCSetPostCheck()
216 if (ctx) *(void **)ctx = tr->postcheckctx; in SNESNewtonTRDCGetPostCheck()
282 PetscCall((*tr->postcheck)(snes, X, Y, W, changed_Y, changed_W, tr->postcheckctx)); in SNESNewtonTRDCPostCheck()
/petsc/include/petsc/private/
H A Dlinesearchimpl.h67 void *postcheckctx; member
/petsc/src/snes/linesearch/interface/
H A Dlinesearch.c200 linesearch->postcheckctx = NULL; in SNESLineSearchCreate()
399 if (ctx) linesearch->postcheckctx = ctx; in SNESLineSearchSetPostCheck()
422 if (ctx) *(void **)ctx = linesearch->postcheckctx; in SNESLineSearchGetPostCheck()
492 …PetscUseTypeMethod(linesearch, postcheck, X, Y, W, changed_Y, changed_W, linesearch->postcheckctx); in SNESLineSearchPostCheck()