| /petsc/include/ |
| H A D | petscsnes.h | 66 PETSC_EXTERN PetscErrorCode SNESMonitorSAWsDestroy(PetscCtxRt); 170 …NESNewtonTRGetPreCheck(SNES, PetscErrorCode (**)(SNES, Vec, Vec, PetscBool *, void *), PetscCtxRt); 172 …heck(SNES, PetscErrorCode (**)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, void *), PetscCtxRt); 208 …ewtonTRDCGetPreCheck(SNES, PetscErrorCode (**)(SNES, Vec, Vec, PetscBool *, PetscCtx), PetscCtxRt); 210 …ck(SNES, PetscErrorCode (**)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, PetscCtx), PetscCtxRt); 241 PETSC_EXTERN PetscErrorCode SNESGetApplicationContext(SNES, PetscCtxRt); 242 …orCode SNESSetComputeApplicationContext(SNES, PetscErrorCode (*)(SNES, PetscCtxRt), PetscCtxDestro… 562 PETSC_EXTERN PetscErrorCode SNESGetFunction(SNES, Vec *, SNESFunctionFn **, PetscCtxRt); 568 PETSC_EXTERN PetscErrorCode SNESGetJacobian(SNES, Mat *, Mat *, SNESJacobianFn **, PetscCtxRt); 575 …rorCode SNESGetPicard(SNES, Vec *, SNESFunctionFn **, Mat *, Mat *, SNESJacobianFn **, PetscCtxRt); [all …]
|
| H A D | petsctao.h | 311 PETSC_EXTERN PetscErrorCode TaoGetApplicationContext(Tao, PetscCtxRt); 331 …scErrorCode TaoGetObjective(Tao, PetscErrorCode (**)(Tao, Vec, PetscReal *, PetscCtx), PetscCtxRt); 333 …etscErrorCode TaoGetGradient(Tao, Vec *, PetscErrorCode (**)(Tao, Vec, Vec, PetscCtx), PetscCtxRt); 335 …tiveAndGradient(Tao, Vec *, PetscErrorCode (**)(Tao, Vec, PetscReal *, Vec, PetscCtx), PetscCtxRt); 337 …de TaoGetHessian(Tao, Mat *, Mat *, PetscErrorCode (**)(Tao, Vec, Mat, Mat, PetscCtx), PetscCtxRt); 353 …InequalityConstraintsRoutine(Tao, Vec *, PetscErrorCode (**)(Tao, Vec, Vec, PetscCtx), PetscCtxRt); 355 …etEqualityConstraintsRoutine(Tao, Vec *, PetscErrorCode (**)(Tao, Vec, Vec, PetscCtx), PetscCtxRt); 361 …nequalityRoutine(Tao, Mat *, Mat *, PetscErrorCode (**)(Tao, Vec, Mat, Mat, PetscCtx), PetscCtxRt); 363 …nEqualityRoutine(Tao, Mat *, Mat *, PetscErrorCode (**)(Tao, Vec, Mat, Mat, PetscCtx), PetscCtxRt); 370 PETSC_EXTERN PetscErrorCode TaoShellGetContext(Tao, PetscCtxRt);
|
| H A D | petscts.h | 281 …e TSGetRHSJacobianP(TS, Mat *, PetscErrorCode (**)(TS, PetscReal, Vec, Mat, PetscCtx), PetscCtxRt); 284 …anP(TS, Mat *, PetscErrorCode (**)(TS, PetscReal, Vec, Vec, PetscReal, Mat, PetscCtx), PetscCtxRt); 609 PETSC_EXTERN PetscErrorCode TSGetRHSFunction(TS, Vec *, TSRHSFunctionFn **, PetscCtxRt); 611 PETSC_EXTERN PetscErrorCode TSGetRHSJacobian(TS, Mat *, Mat *, TSRHSJacobianFn **, PetscCtxRt); 705 PETSC_EXTERN PetscErrorCode TSGetIFunction(TS, Vec *, TSIFunctionFn **, PetscCtxRt); 707 PETSC_EXTERN PetscErrorCode TSGetIJacobian(TS, Mat *, Mat *, TSIJacobianFn **, PetscCtxRt); 759 PETSC_EXTERN PetscErrorCode TSGetI2Function(TS, Vec *, TSI2FunctionFn **, PetscCtxRt); 761 PETSC_EXTERN PetscErrorCode TSGetI2Jacobian(TS, Mat *, Mat *, TSI2JacobianFn **, PetscCtxRt); 833 PETSC_EXTERN PetscErrorCode DMTSGetRHSFunction(DM, TSRHSFunctionFn **, PetscCtxRt); 836 PETSC_EXTERN PetscErrorCode DMTSGetRHSJacobian(DM, TSRHSJacobianFn **, PetscCtxRt); [all …]
|
| H A D | petscbag.h | 42 PETSC_EXTERN PetscErrorCode PetscBagGetData(PetscBag, PetscCtxRt);
|
| H A D | petscksp.h | 248 PETSC_EXTERN PetscErrorCode KSPGetMonitorContext(KSP, PetscCtxRt); 627 PETSC_EXTERN PetscErrorCode KSPMonitorDynamicToleranceDestroy(PetscCtxRt); 632 PETSC_EXTERN PetscErrorCode KSPMonitorSAWsDestroy(PetscCtxRt); 988 PETSC_EXTERN PetscErrorCode KSPGetConvergenceTest(KSP, KSPConvergenceTestFn **, PetscCtxRt, P… 989 …Code KSPGetAndClearConvergenceTest(KSP, KSPConvergenceTestFn **, PetscCtxRt, PetscCtxDestroy… 990 PETSC_EXTERN PetscErrorCode KSPGetConvergenceContext(KSP, PetscCtxRt); 1307 PETSC_EXTERN PetscErrorCode KSPGetApplicationContext(KSP, PetscCtxRt);
|
| H A D | petscdmfield.h | 61 PETSC_EXTERN PetscErrorCode DMFieldShellGetContext(DMField, PetscCtxRt);
|
| /petsc/src/ksp/ksp/interface/ftn-custom/ |
| H A D | zitfuncf.c | 71 static PetscErrorCode ourdestroy(PetscCtxRt ctx) in ourdestroy() 83 static PetscErrorCode ourtestdestroy(PetscCtxRt ctx) in ourtestdestroy() 115 PETSC_EXTERN void kspconvergeddefaultdestroycptr_(PetscCtxRt, PetscErrorCode *); 117 …ergedReason *, void *, PetscErrorCode *), void **cctx, void (*destroy)(PetscCtxRt, PetscErrorCode … in kspsetconvergencetest_() argument
|
| /petsc/src/snes/utils/ |
| H A D | dmsnes.c | 405 PetscErrorCode DMSNESGetFunction(DM dm, SNESFunctionFn **f, PetscCtxRt ctx) in DMSNESGetFunction() 466 PetscErrorCode DMSNESGetObjective(DM dm, SNESObjectiveFn **obj, PetscCtxRt ctx) in DMSNESGetObjective() 536 PetscErrorCode DMSNESGetNGS(DM dm, PetscErrorCode (**f)(SNES, Vec, Vec, void *), PetscCtxRt ctx) in DMSNESGetNGS() 648 PetscErrorCode DMSNESGetJacobian(DM dm, SNESJacobianFn **J, PetscCtxRt ctx) in DMSNESGetJacobian() 708 PetscErrorCode DMSNESGetPicard(DM dm, SNESFunctionFn **b, SNESJacobianFn **J, PetscCtxRt ctx) in DMSNESGetPicard()
|
| H A D | dmlocalsnes.c | 353 …SNESGetObjectiveLocal(DM dm, PetscErrorCode (**func)(DM, Vec, PetscReal *, void *), PetscCtxRt ctx) in DMSNESGetObjectiveLocal() 383 …orCode DMSNESGetFunctionLocal(DM dm, PetscErrorCode (**func)(DM, Vec, Vec, void *), PetscCtxRt ctx) in DMSNESGetFunctionLocal() 413 PetscErrorCode DMSNESGetBoundaryLocal(DM dm, PetscErrorCode (**func)(DM, Vec, void *), PetscCtxRt c… in DMSNESGetBoundaryLocal() 443 …e DMSNESGetJacobianLocal(DM dm, PetscErrorCode (**func)(DM, Vec, Mat, Mat, void *), PetscCtxRt ctx) in DMSNESGetJacobianLocal()
|
| /petsc/src/ts/utils/ |
| H A D | dmts.c | 448 PetscErrorCode DMTSGetIFunction(DM dm, TSIFunctionFn **func, PetscCtxRt ctx) in DMTSGetIFunction() 559 PetscErrorCode DMTSGetI2Function(DM dm, TSI2FunctionFn **fun, PetscCtxRt ctx) in DMTSGetI2Function() 669 PetscErrorCode DMTSGetI2Jacobian(DM dm, TSI2JacobianFn **jac, PetscCtxRt ctx) in DMTSGetI2Jacobian() 852 PetscErrorCode DMTSGetSolutionFunction(DM dm, TSSolutionFn **func, PetscCtxRt ctx) in DMTSGetSolutionFunction() 947 PetscErrorCode DMTSGetForcingFunction(DM dm, TSForcingFn **f, PetscCtxRt ctx) in DMTSGetForcingFunction() 979 PetscErrorCode DMTSGetRHSFunction(DM dm, TSRHSFunctionFn **func, PetscCtxRt ctx) in DMTSGetRHSFunction() 1096 PetscErrorCode DMTSGetIJacobian(DM dm, TSIJacobianFn **func, PetscCtxRt ctx) in DMTSGetIJacobian() 1211 PetscErrorCode DMTSGetRHSJacobian(DM dm, TSRHSJacobianFn **func, PetscCtxRt ctx) in DMTSGetRHSJacobian()
|
| H A D | dmlocalts.c | 250 …FunctionLocal(DM dm, PetscErrorCode (**func)(DM, PetscReal, Vec, Vec, Vec, void *), PetscCtxRt ctx) in DMTSGetIFunctionLocal() 322 … dm, PetscErrorCode (**func)(DM, PetscReal, Vec, Vec, PetscReal, Mat, Mat, void *), PetscCtxRt ctx) in DMTSGetIJacobianLocal() 391 …etRHSFunctionLocal(DM dm, PetscErrorCode (**func)(DM, PetscReal, Vec, Vec, void *), PetscCtxRt ctx) in DMTSGetRHSFunctionLocal()
|
| /petsc/src/snes/interface/saws/ |
| H A D | snessaws.c | 47 PetscErrorCode SNESMonitorSAWsDestroy(PetscCtxRt ctx) in SNESMonitorSAWsDestroy()
|
| /petsc/src/ksp/ksp/impls/gmres/fgmres/ftn-custom/ |
| H A D | zmodpcff.c | 24 static PetscErrorCode ourmoddestroy(PetscCtxRt ctx) in ourmoddestroy()
|
| /petsc/src/mat/impls/aij/seq/ |
| H A D | matmatmatmult.c | 7 static PetscErrorCode MatProductCtxDestroy_SeqAIJ_MatMatMatMult(PetscCtxRt data) in MatProductCtxDestroy_SeqAIJ_MatMatMatMult()
|
| /petsc/src/snes/linesearch/impls/shell/ |
| H A D | linesearchshell.c | 80 …neSearchShellGetApply(SNESLineSearch linesearch, SNESLineSearchShellApplyFn **func, PetscCtxRt ctx) in SNESLineSearchShellGetApply()
|
| /petsc/src/ksp/ksp/interface/saws/ |
| H A D | kspsaws.c | 50 PetscErrorCode KSPMonitorSAWsDestroy(PetscCtxRt ctx) in KSPMonitorSAWsDestroy()
|
| /petsc/src/snes/impls/shell/ |
| H A D | snesshell.c | 61 PetscErrorCode SNESShellGetContext(SNES snes, PetscCtxRt ctx) in SNESShellGetContext()
|
| /petsc/src/tao/shell/ |
| H A D | taoshell.c | 60 PetscErrorCode TaoShellGetContext(Tao tao, PetscCtxRt ctx) in TaoShellGetContext()
|
| /petsc/src/snes/tutorials/ |
| H A D | ex58.c | 48 extern PetscErrorCode FormBoundaryConditions(SNES, PetscCtxRt); 49 extern PetscErrorCode DestroyBoundaryConditions(PetscCtxRt); 460 PetscErrorCode FormBoundaryConditions(SNES snes, PetscCtxRt Ctx) in FormBoundaryConditions() 546 PetscErrorCode DestroyBoundaryConditions(PetscCtxRt Ctx) in DestroyBoundaryConditions()
|
| /petsc/src/ksp/pc/interface/ |
| H A D | pcset.c | 264 PetscErrorCode PCGetApplicationContext(PC pc, PetscCtxRt ctx) in PCGetApplicationContext()
|
| /petsc/src/tao/interface/ |
| H A D | taosolver_fg.c | 310 …ctive(Tao tao, PetscErrorCode (**func)(Tao tao, Vec x, PetscReal *f, PetscCtx ctx), PetscCtxRt ctx) in TaoGetObjective() 506 …ient(Tao tao, Vec *g, PetscErrorCode (**func)(Tao tao, Vec x, Vec g, PetscCtx ctx), PetscCtxRt ctx) in TaoGetGradient() 582 …Vec *g, PetscErrorCode (**func)(Tao tao, Vec x, PetscReal *f, Vec g, PetscCtx ctx), PetscCtxRt ctx) in TaoGetObjectiveAndGradient()
|
| H A D | taosolver_bounds.c | 366 …ne(Tao tao, Vec *ci, PetscErrorCode (**func)(Tao tao, Vec x, Vec ci, PetscCtx ctx), PetscCtxRt ctx) in TaoGetEqualityConstraintsRoutine() 434 …ne(Tao tao, Vec *ci, PetscErrorCode (**func)(Tao tao, Vec x, Vec ci, PetscCtx ctx), PetscCtxRt ctx) in TaoGetInequalityConstraintsRoutine()
|
| /petsc/include/petsc/private/cpp/ |
| H A D | register_finalize.hpp | 12 const auto finalizer = [](PetscCtxRt ctx) { in PetscCxxObjectRegisterFinalize()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vecglvis.c | 4 static PetscErrorCode PetscViewerGLVisVecInfoDestroy_Private(PetscCtxRt ptr) in PetscViewerGLVisVecInfoDestroy_Private()
|
| /petsc/src/snes/impls/al/ |
| H A D | al.c | 137 static PetscErrorCode SNESNewtonALGetFunction_NEWTONAL(SNES snes, SNESFunctionFn **func, PetscCtxRt… in SNESNewtonALGetFunction_NEWTONAL() 161 PetscErrorCode SNESNewtonALGetFunction(SNES snes, SNESFunctionFn **func, PetscCtxRt ctx) in SNESNewtonALGetFunction() 165 …PetscUseMethod(snes, "SNESNewtonALGetFunction_C", (SNES, SNESFunctionFn **, PetscCtxRt), (snes, fu… in SNESNewtonALGetFunction()
|