| /petsc/include/ |
| H A D | petsctao.h | 310 PETSC_EXTERN PetscErrorCode TaoSetApplicationContext(Tao, PetscCtx); 330 …PetscErrorCode TaoSetObjective(Tao, PetscErrorCode (*)(Tao, Vec, PetscReal *, PetscCtx), PetscCtx); 331 …scErrorCode TaoGetObjective(Tao, PetscErrorCode (**)(Tao, Vec, PetscReal *, PetscCtx), PetscCtxRt); 332 …ERN PetscErrorCode TaoSetGradient(Tao, Vec, PetscErrorCode (*)(Tao, Vec, Vec, PetscCtx), PetscCtx); 333 PETSC_EXTERN PetscErrorCode TaoGetGradient(Tao, Vec *, PetscErrorCode (**)(Tao, Vec, Vec, PetscCtx)… 334 …ObjectiveAndGradient(Tao, Vec, PetscErrorCode (*)(Tao, Vec, PetscReal *, Vec, PetscCtx), PetscCtx); 335 …tiveAndGradient(Tao, Vec *, PetscErrorCode (**)(Tao, Vec, PetscReal *, Vec, PetscCtx), PetscCtxRt); 336 …ErrorCode TaoSetHessian(Tao, Mat, Mat, PetscErrorCode (*)(Tao, Vec, Mat, Mat, PetscCtx), PetscCtx); 337 …de TaoGetHessian(Tao, Mat *, Mat *, PetscErrorCode (**)(Tao, Vec, Mat, Mat, PetscCtx), PetscCtxRt); 349 …scErrorCode TaoSetResidualRoutine(Tao, Vec, PetscErrorCode (*)(Tao, Vec, Vec, PetscCtx), PetscCtx); [all …]
|
| H A D | petsctao_deprecations.h | 33 …ableObjectiveRoutine(Tao tao, Vec res, PetscErrorCode (*func)(Tao, Vec, Vec, void *), PetscCtx ctx) in TaoSetSeparableObjectiveRoutine() 45 …rrorCode TaoSetMonitor(Tao tao, PetscErrorCode (*monitor)(Tao, void *), PetscCtx ctx, PetscCtxDest… in TaoSetMonitor() 53 …, 0, "TaoMonitorDefault()", ) static inline PetscErrorCode TaoDefaultMonitor(Tao tao, PetscCtx ctx) in TaoDefaultMonitor() 57 …, 0, "TaoMonitorGlobalization()", ) static inline PetscErrorCode TaoGMonitor(Tao tao, PetscCtx ctx) in TaoGMonitor() 61 …1, 0, "TaoMonitorDefaultShort()", ) static inline PetscErrorCode TaoSMonitor(Tao tao, PetscCtx ctx) in TaoSMonitor() 65 … 0, "TaoMonitorConstraintNorm()", ) static inline PetscErrorCode TaoCMonitor(Tao tao, PetscCtx ctx) in TaoCMonitor() 69 …0, "TaoMonitorSolution()", ) static inline PetscErrorCode TaoSolutionMonitor(Tao tao, PetscCtx ctx) in TaoSolutionMonitor() 73 …0, "TaoMonitorGradient()", ) static inline PetscErrorCode TaoGradientMonitor(Tao tao, PetscCtx ctx) in TaoGradientMonitor() 77 …0, "TaoMonitorResidual()", ) static inline PetscErrorCode TaoResidualMonitor(Tao tao, PetscCtx ctx) in TaoResidualMonitor() 81 …, "TaoMonitorStep()", ) static inline PetscErrorCode TaoStepDirectionMonitor(Tao tao, PetscCtx ctx) in TaoStepDirectionMonitor() [all …]
|
| H A D | petscts.h | 258 … TSMonitorSet(TS, PetscErrorCode (*)(TS, PetscInt, PetscReal, Vec, PetscCtx), PetscCtx, PetscCtxDe… 280 …orCode TSSetRHSJacobianP(TS, Mat, PetscErrorCode (*)(TS, PetscReal, Vec, Mat, PetscCtx), PetscCtx); 281 …e TSGetRHSJacobianP(TS, Mat *, PetscErrorCode (**)(TS, PetscReal, Vec, Mat, PetscCtx), PetscCtxRt); 283 …acobianP(TS, Mat, PetscErrorCode (*)(TS, PetscReal, Vec, Vec, PetscReal, Mat, PetscCtx), PetscCtx); 284 …anP(TS, Mat *, PetscErrorCode (**)(TS, PetscReal, Vec, Vec, PetscReal, Mat, PetscCtx), PetscCtxRt); 288 …PetscCtx), Vec *, PetscErrorCode (*)(TS, PetscReal, Vec, Vec *, Vec, Vec *, PetscCtx), Vec *, Pets… 293 …PetscCtx), Vec[], PetscErrorCode (*)(TS, PetscReal, Vec, Vec *, Vec, Vec *, PetscCtx), Vec[], Pets… 351 …torySetTransform(TSTrajectory, PetscErrorCode (*)(PetscCtx, Vec, Vec *), PetscCtxDestroyFn *, Pets… 374 …ec, PetscCtx), PetscErrorCode (*)(TS, PetscReal, Vec, Vec *, PetscCtx), PetscErrorCode (*)(TS, Pet… 382 …rrorCode (*)(TS, PetscInt, PetscReal, Vec, PetscInt, Vec *, Vec *, PetscCtx), PetscCtx, PetscCtxDe… [all …]
|
| H A D | petscsnes.h | 64 PETSC_EXTERN PetscErrorCode SNESMonitorSAWs(SNES, PetscInt, PetscReal, PetscCtx); 169 …e SNESNewtonTRSetPreCheck(SNES, PetscErrorCode (*)(SNES, Vec, Vec, PetscBool *, void *), PetscCtx); 171 …stCheck(SNES, PetscErrorCode (*)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, void *), PetscCtx); 207 …ESNewtonTRDCSetPreCheck(SNES, PetscErrorCode (*)(SNES, Vec, Vec, PetscBool *, PetscCtx), PetscCtx); 208 …ewtonTRDCGetPreCheck(SNES, PetscErrorCode (**)(SNES, Vec, Vec, PetscBool *, PetscCtx), PetscCtxRt); 209 …Check(SNES, PetscErrorCode (*)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, PetscCtx), PetscCtx); 210 …ck(SNES, PetscErrorCode (**)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, PetscCtx), PetscCtxRt); 240 PETSC_EXTERN PetscErrorCode SNESSetApplicationContext(SNES, PetscCtx); 484 PETSC_EXTERN_TYPEDEF typedef PetscErrorCode SNESInitialGuessFn(SNES snes, Vec u, PetscCtx ctx); 499 PETSC_EXTERN_TYPEDEF typedef PetscErrorCode SNESFunctionFn(SNES snes, Vec u, Vec F, PetscCtx ctx); [all …]
|
| H A D | petscdm.h | 107 …nHookAdd(DM, PetscErrorCode (*)(DM, DM, PetscCtx), PetscErrorCode (*)(DM, Mat, Vec, Mat, DM, Petsc… 108 …okRemove(DM, PetscErrorCode (*)(DM, DM, PetscCtx), PetscErrorCode (*)(DM, Mat, Vec, Mat, DM, Petsc… 109 …RefineHookAdd(DM, PetscErrorCode (*)(DM, DM, PetscCtx), PetscErrorCode (*)(DM, Mat, DM, PetscCtx),… 110 …ineHookRemove(DM, PetscErrorCode (*)(DM, DM, PetscCtx), PetscErrorCode (*)(DM, Mat, DM, PetscCtx),… 131 …rrorCode (*)(DM, Vec, InsertMode, Vec, PetscCtx), PetscErrorCode (*)(DM, Vec, InsertMode, Vec, Pet… 132 …rrorCode (*)(DM, Vec, InsertMode, Vec, PetscCtx), PetscErrorCode (*)(DM, Vec, InsertMode, Vec, Pet… 196 …kAdd(DM, PetscErrorCode (*)(DM, DM, PetscCtx), PetscErrorCode (*)(DM, VecScatter, VecScatter, DM, … 197 …move(DM, PetscErrorCode (*)(DM, DM, PetscCtx), PetscErrorCode (*)(DM, VecScatter, VecScatter, DM, … 209 PETSC_EXTERN PetscErrorCode DMSetApplicationContext(DM, PetscCtx); 463 PETSC_EXTERN PetscErrorCode DMMonitorSet(DM, PetscErrorCode (*)(DM, PetscCtx), PetscCtx, PetscCtxDe… [all …]
|
| H A D | petscksp.h | 165 …SPMonitorRegisterCreateFn(PetscViewer viewer, PetscViewerFormat format, PetscCtx ctx, PetscViewerA… 220 PETSC_EXTERN_TYPEDEF typedef PetscErrorCode KSPPSolveFn(KSP ksp, Vec rhs, Vec x, PetscCtx ctx); 222 PETSC_EXTERN PetscErrorCode KSPSetPreSolve(KSP, KSPPSolveFn *, PetscCtx); 223 PETSC_EXTERN PetscErrorCode KSPSetPostSolve(KSP, KSPPSolveFn *, PetscCtx); 243 …N_TYPEDEF typedef PetscErrorCode KSPMonitorFn(KSP ksp, PetscInt it, PetscReal rnorm, PetscCtx ctx); 246 PETSC_EXTERN PetscErrorCode KSPMonitorSet(KSP, KSPMonitorFn *, PetscCtx, PetscCtxDestroyFn *); 391 …xibleModifyPCFn(KSP ksp, PetscInt total_its, PetscInt local_its, PetscReal res_norm, PetscCtx ctx); 393 PETSC_EXTERN PetscErrorCode KSPFlexibleSetModifyPC(KSP, KSPFlexibleModifyPCFn *, PetscCtx, PetscCtx… 396 static inline PetscErrorCode KSPPIPEGCRSetModifyPC(KSP ksp, KSPFlexibleModifyPCFn *fun, PetscCtx ct… in KSPPIPEGCRSetModifyPC() 421 static inline PetscErrorCode KSPGCRSetModifyPC(KSP ksp, KSPFlexibleModifyPCFn *fun, PetscCtx ctx, P… in KSPGCRSetModifyPC() [all …]
|
| /petsc/src/tao/interface/ftn-custom/ |
| H A D | ztaosolverf.c | 72 static PetscErrorCode ourtaoobjectiveroutine(Tao tao, Vec x, PetscReal *f, PetscCtx ctx) in ourtaoobjectiveroutine() 77 static PetscErrorCode ourtaogradientroutine(Tao tao, Vec x, Vec g, PetscCtx ctx) in ourtaogradientroutine() 82 …PetscErrorCode ourtaoobjectiveandgradientroutine(Tao tao, Vec x, PetscReal *f, Vec g, PetscCtx ctx) in ourtaoobjectiveandgradientroutine() 87 static PetscErrorCode ourtaohessianroutine(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx) in ourtaohessianroutine() 92 static PetscErrorCode ourtaojacobianroutine(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx) in ourtaojacobianroutine() 97 … PetscErrorCode ourtaojacobianstateroutine(Tao tao, Vec x, Mat H, Mat Hpre, Mat Hinv, PetscCtx ctx) in ourtaojacobianstateroutine() 102 static PetscErrorCode ourtaojacobiandesignroutine(Tao tao, Vec x, Mat H, PetscCtx ctx) in ourtaojacobiandesignroutine() 107 static PetscErrorCode ourtaoboundsroutine(Tao tao, Vec xl, Vec xu, PetscCtx ctx) in ourtaoboundsroutine() 111 static PetscErrorCode ourtaoresidualroutine(Tao tao, Vec x, Vec f, PetscCtx ctx) in ourtaoresidualroutine() 116 static PetscErrorCode ourtaojacobianresidualroutine(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx) in ourtaojacobianresidualroutine() [all …]
|
| /petsc/src/sys/objects/ftn-custom/ |
| H A D | zinheritf.c | 21 static PetscErrorCode ourhandler(PetscObject obj, PetscOptionItems items, PetscCtx ctx) in ourhandler() 27 …PetscObjectUseFortranCallback(obj, _cb.handler, (PetscObject *, PetscOptionItems *, PetscCtx, Pets… in ourhandler() 30 static PetscErrorCode ourdestroy(PetscObject obj, PetscCtx ctx) in ourdestroy() 36 …PetscObjectUseFortranCallback(obj, _cb.destroy, (PetscObject *, PetscCtx, PetscErrorCode *PETSC_F9… in ourdestroy() 39 …bject *, PetscOptionItems *, PetscCtx, PetscErrorCode), void (*destroy)(PetscObject *, PetscCtx, P… in petscobjectaddoptionshandler_() argument
|
| /petsc/src/tao/constrained/impls/admm/ftn-custom/ |
| H A D | zadmmf.c | 29 static PetscErrorCode ourtaoadmmmisfitobjgradroutine(Tao tao, Vec x, PetscReal *f, Vec g, PetscCtx … in ourtaoadmmmisfitobjgradroutine() 34 static PetscErrorCode ourtaoadmmmisfithessroutine(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx) in ourtaoadmmmisfithessroutine() 39 static PetscErrorCode ourtaoadmmmisfitconstraintjacobian(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx … in ourtaoadmmmisfitconstraintjacobian() 44 …tscErrorCode ourtaoadmmregularizerobjgradroutine(Tao tao, Vec x, PetscReal *f, Vec g, PetscCtx ctx) in ourtaoadmmregularizerobjgradroutine() 49 static PetscErrorCode ourtaoadmmregularizerhessroutine(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ct… in ourtaoadmmregularizerhessroutine() 54 …tscErrorCode ourtaoadmmregularizerconstraintjacobian(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx) in ourtaoadmmregularizerconstraintjacobian() 59 …id (*func)(Tao *, Vec *, PetscReal *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taoadmmsetmisfitobjectiveandgradientroutine_() 66 …re, void (*func)(Tao *, Vec *, Mat *, Mat *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taoadmmsetmisfithessianroutine_() 73 …re, void (*func)(Tao *, Vec *, Mat *, Mat *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taoadmmsetmisfitconstraintjacobian_() 80 …id (*func)(Tao *, Vec *, PetscReal *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taoadmmsetregularizerobjectiveandgradientroutine_() [all …]
|
| /petsc/src/tao/linesearch/interface/ftn-custom/ |
| H A D | ztaolinesearchf.c | 22 …etscErrorCode ourtaolinesearchobjectiveroutine(TaoLineSearch ls, Vec x, PetscReal *f, PetscCtx ctx) in ourtaolinesearchobjectiveroutine() 28 static PetscErrorCode ourtaolinesearchgradientroutine(TaoLineSearch ls, Vec x, Vec g, PetscCtx ctx) in ourtaolinesearchgradientroutine() 34 …aolinesearchobjectiveandgradientroutine(TaoLineSearch ls, Vec x, PetscReal *f, Vec g, PetscCtx ctx) in ourtaolinesearchobjectiveandgradientroutine() 40 …hobjectiveandgtsroutine(TaoLineSearch ls, Vec x, Vec s, PetscReal *f, PetscReal *gts, PetscCtx ctx) in ourtaolinesearchobjectiveandgtsroutine() 46 …(*func)(TaoLineSearch *, Vec *, PetscReal *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taolinesearchsetobjectiveroutine_() 57 … void (*func)(TaoLineSearch *, Vec *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taolinesearchsetgradientroutine_() 68 …(TaoLineSearch *, Vec *, PetscReal *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taolinesearchsetobjectiveandgradientroutine_() 79 …h *, Vec *, Vec *, PetscReal *, PetscReal *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taolinesearchsetobjectiveandgtsroutine_()
|
| /petsc/src/ksp/ksp/interface/ftn-custom/ |
| H A D | zdmkspf.c | 14 static PetscErrorCode ourkspcomputerhs(KSP ksp, Vec b, PetscCtx ctx) in ourkspcomputerhs() 24 static PetscErrorCode ourkspcomputeinitialguess(KSP ksp, Vec b, PetscCtx ctx) in ourkspcomputeinitialguess() 34 static PetscErrorCode ourkspcomputeoperators(KSP ksp, Mat A, Mat B, PetscCtx ctx) in ourkspcomputeoperators() 49 …mputerhs_(DM *dm, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in dmkspsetcomputerhs_() 59 …ialguess_(DM *dm, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in dmkspsetcomputeinitialguess_() 70 …perators_(DM *dm, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in dmkspsetcomputeoperators_()
|
| H A D | zitfuncf.c | 43 …mputerhs_(DM *dm, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… 44 …ialguess_(DM *dm, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… 45 …perators_(DM *dm, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… 66 static PetscErrorCode ourmonitor(KSP ksp, PetscInt i, PetscReal d, PetscCtx ctx) in ourmonitor() 78 … PetscErrorCode ourtest(KSP ksp, PetscInt i, PetscReal d, KSPConvergedReason *reason, PetscCtx ctx) in ourtest() 135 …uterhs_(KSP *ksp, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in kspsetcomputerhs_() 142 …lguess_(KSP *ksp, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in kspsetcomputeinitialguess_() 149 …rators_(KSP *ksp, void (*func)(KSP *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in kspsetcomputeoperators_()
|
| /petsc/src/snes/interface/ftn-custom/ |
| H A D | zsnesf.c | 86 static PetscErrorCode ourtrprecheckfunction(SNES snes, Vec x, Vec y, PetscBool *changed_y, PetscCtx… in ourtrprecheckfunction() 95 …recheck_(SNES *snes, void (*func)(SNES, Vec, Vec, PetscBool *, void *), PetscCtx ctx, PetscErrorCo… in snesnewtontrsetprecheck_() 106 …recheck_(SNES *snes, void (*func)(SNES, Vec, Vec, PetscBool *, void *), PetscCtx ctx, PetscErrorCo… in snesnewtontrdcsetprecheck_() 117 …kfunction(SNES snes, Vec x, Vec y, Vec w, PetscBool *changed_y, PetscBool *changed_w, PetscCtx ctx) in ourtrpostcheckfunction() 126 …s, void (*func)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, void *), PetscCtx ctx, PetscErrorCo… in snesnewtontrsetpostcheck_() 137 …s, void (*func)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, void *), PetscCtx ctx, PetscErrorCo… in snesnewtontrdcsetpostcheck_() 148 static PetscErrorCode oursnesfunction(SNES snes, Vec x, Vec f, PetscCtx ctx) in oursnesfunction() 157 static PetscErrorCode oursnesobjective(SNES snes, Vec x, PetscReal *v, PetscCtx ctx) in oursnesobjective() 166 …nes, PetscInt it, PetscReal a, PetscReal d, PetscReal c, SNESConvergedReason *reason, PetscCtx ctx) in oursnestest() 176 static PetscErrorCode oursnesjacobian(SNES snes, Vec x, Mat m, Mat p, PetscCtx ctx) in oursnesjacobian() [all …]
|
| /petsc/src/ksp/ksp/impls/gmres/fgmres/ |
| H A D | modpcf.c | 21 PetscErrorCode KSPFlexibleSetModifyPC(KSP ksp, KSPFlexibleModifyPCFn *fcn, PetscCtx ctx, PetscCtxDe… in KSPFlexibleSetModifyPC() 25 …PetscTryMethod(ksp, "KSPFlexibleSetModifyPC_C", (KSP, KSPFlexibleModifyPCFn *, PetscCtx, PetscCtxD… in KSPFlexibleSetModifyPC() 46 …leModifyPCNoChange(KSP ksp, PetscInt total_its, PetscInt loc_its, PetscReal res_norm, PetscCtx ctx) in KSPFlexibleModifyPCNoChange() 71 …lexibleModifyPCKSP(KSP ksp, PetscInt total_its, PetscInt loc_its, PetscReal res_norm, PetscCtx ctx) in KSPFlexibleModifyPCKSP()
|
| /petsc/src/tao/leastsquares/impls/brgn/ftn-custom/ |
| H A D | zbrgnf.c | 17 static PetscErrorCode ourtaobrgnregobjgradroutine(Tao tao, Vec x, PetscReal *f, Vec g, PetscCtx ctx) in ourtaobrgnregobjgradroutine() 22 static PetscErrorCode ourtaobrgnreghessroutine(Tao tao, Vec x, Mat H, PetscCtx ctx) in ourtaobrgnreghessroutine() 27 …id (*func)(Tao *, Vec *, PetscReal *, Vec *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taobrgnsetregularizerobjectiveandgradientroutine_() 34 …o, Mat *H, void (*func)(Tao *, Vec *, Mat *, void *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in taobrgnsetregularizerhessianroutine_()
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | dmksp.c | 30 static PetscErrorCode DMCoarsenHook_DMKSP(DM dm, DM dmc, PetscCtx ctx) in DMCoarsenHook_DMKSP() 40 static PetscErrorCode DMRefineHook_DMKSP(DM dm, DM dmc, PetscCtx ctx) in DMRefineHook_DMKSP() 207 PetscErrorCode DMKSPSetComputeOperators(DM dm, KSPComputeOperatorsFn *func, PetscCtx ctx) in DMKSPSetComputeOperators() 235 PetscErrorCode DMKSPGetComputeOperators(DM dm, KSPComputeOperatorsFn **func, PetscCtx ctx) in DMKSPGetComputeOperators() 269 PetscErrorCode DMKSPSetComputeRHS(DM dm, KSPComputeRHSFn *func, PetscCtx ctx) in DMKSPSetComputeRHS() 299 PetscErrorCode DMKSPSetComputeInitialGuess(DM dm, KSPComputeInitialGuessFn *func, PetscCtx ctx) in DMKSPSetComputeInitialGuess() 327 PetscErrorCode DMKSPGetComputeRHS(DM dm, KSPComputeRHSFn **func, PetscCtx ctx) in DMKSPGetComputeRHS() 355 PetscErrorCode DMKSPGetComputeInitialGuess(DM dm, KSPComputeInitialGuessFn **func, PetscCtx ctx) in DMKSPGetComputeInitialGuess()
|
| /petsc/src/snes/linesearch/interface/ftn-custom/ |
| H A D | zlinesearchf.c | 18 …ursneslinesearchprecheck(SNESLineSearch linesearch, Vec X, Vec Y, PetscBool *changed, PetscCtx ctx) in oursneslinesearchprecheck() 25 …neSearch linesearch, Vec X, Vec Y, Vec W, PetscBool *changed_Y, PetscBool *changed_W, PetscCtx ctx) in oursneslinesearchpostcheck() 32 …(*func)(SNESLineSearch *, Vec *, Vec *, PetscBool *, PetscErrorCode *), PetscCtx ctx, PetscErrorCo… in sneslinesearchsetprecheck_() 40 …c *, Vec *, Vec *, PetscBool *, PetscBool *, PetscErrorCode *, void *), PetscCtx ctx, PetscErrorCo… in sneslinesearchsetpostcheck_()
|
| /petsc/src/sys/error/ftn-custom/ |
| H A D | zerrf.c | 30 …st char *fun, const char *file, PetscErrorCode n, PetscErrorType p, const char *mess, PetscCtx ctx) in ourerrorhandler() 48 …nst char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, PetscErrorCo… in petsctracebackerrorhandler_() 53 …nst char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, PetscErrorCo… in petscaborterrorhandler_() 58 …nst char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, PetscErrorCo… in petscattachdebuggererrorhandler_() 63 …nst char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, PetscErrorCo… in petscemacsclienterrorhandler_() 68 …nst char *file, PetscErrorCode *n, PetscErrorType *p, const char *mess, PetscCtx ctx, PetscErrorCo… in petscignoreerrorhandler_() 73 …EN_T len1, PETSC_FORTRAN_CHARLEN_T len2, PETSC_FORTRAN_CHARLEN_T len3), PetscCtx ctx, PetscErrorCo… in petscpusherrorhandler_()
|
| /petsc/src/snes/utils/ |
| H A D | dmdasnes.c | 57 static PetscErrorCode SNESComputeFunction_DMDA(SNES snes, Vec X, Vec F, PetscCtx ctx) in SNESComputeFunction_DMDA() 116 static PetscErrorCode SNESComputeObjective_DMDA(SNES snes, Vec X, PetscReal *ob, PetscCtx ctx) in SNESComputeObjective_DMDA() 147 PETSC_EXTERN PetscErrorCode SNESComputeJacobian_DMDA(SNES snes, Vec X, Mat A, Mat B, PetscCtx ctx) in SNESComputeJacobian_DMDA() 232 …e imode, PetscErrorCode (*func)(DMDALocalInfo *info, void *x, void *f, PetscCtx ctx), PetscCtx ctx) in DMDASNESSetFunctionLocal() 274 …tMode imode, PetscErrorCode (*func)(DMDALocalInfo *info, Vec x, Vec f, PetscCtx ctx), PetscCtx ctx) in DMDASNESSetFunctionLocalVec() 319 …dm, PetscErrorCode (*func)(DMDALocalInfo *info, void *x, Mat J, Mat M, PetscCtx ctx), PetscCtx ctx) in DMDASNESSetJacobianLocal() 357 …lVec(DM dm, PetscErrorCode (*func)(DMDALocalInfo *info, Vec x, Mat J, Mat M, void *), PetscCtx ctx) in DMDASNESSetJacobianLocalVec() 394 …(DM dm, PetscErrorCode (*func)(DMDALocalInfo *info, void *x, PetscReal *obj, void *), PetscCtx ctx) in DMDASNESSetObjectiveLocal() 431 …ec(DM dm, PetscErrorCode (*func)(DMDALocalInfo *info, Vec x, PetscReal *obj, void *), PetscCtx ctx) in DMDASNESSetObjectiveLocalVec() 448 static PetscErrorCode SNESComputePicard_DMDA(SNES snes, Vec X, Vec F, PetscCtx ctx) in SNESComputePicard_DMDA() [all …]
|
| H A D | dmsnes.c | 86 static PetscErrorCode DMCoarsenHook_DMSNES(DM dm, DM dmc, PetscCtx ctx) in DMCoarsenHook_DMSNES() 95 …cErrorCode DMRestrictHook_DMSNES(DM dm, Mat Restrict, Vec rscale, Mat Inject, DM dmc, PetscCtx ctx) in DMRestrictHook_DMSNES() 102 static PetscErrorCode DMSubDomainHook_DMSNES(DM dm, DM subdm, PetscCtx ctx) in DMSubDomainHook_DMSNES() 111 …e DMSubDomainRestrictHook_DMSNES(DM dm, VecScatter gscat, VecScatter lscat, DM subdm, PetscCtx ctx) in DMSubDomainRestrictHook_DMSNES() 117 static PetscErrorCode DMRefineHook_DMSNES(DM dm, DM dmf, PetscCtx ctx) in DMRefineHook_DMSNES() 126 static PetscErrorCode DMInterpolateHook_DMSNES(DM dm, Mat Interp, DM dmf, PetscCtx ctx) in DMInterpolateHook_DMSNES() 302 PetscErrorCode DMSNESSetFunction(DM dm, SNESFunctionFn *f, PetscCtx ctx) in DMSNESSetFunction() 373 PetscErrorCode DMSNESSetMFFunction(DM dm, SNESFunctionFn *func, PetscCtx ctx) in DMSNESSetMFFunction() 434 PetscErrorCode DMSNESSetObjective(DM dm, SNESObjectiveFn *obj, PetscCtx ctx) in DMSNESSetObjective() 500 PetscErrorCode DMSNESSetNGS(DM dm, PetscErrorCode (*f)(SNES, Vec, Vec, void *), PetscCtx ctx) in DMSNESSetNGS() [all …]
|
| /petsc/src/tao/interface/ |
| H A D | taosolver_bounds.c | 56 …BoundsRoutine(Tao tao, PetscErrorCode (*func)(Tao tao, Vec xl, Vec xu, PetscCtx ctx), PetscCtx ctx) in TaoSetVariableBoundsRoutine() 230 …sRoutine(Tao tao, Vec c, PetscErrorCode (*func)(Tao tao, Vec x, Vec c, PetscCtx ctx), PetscCtx ctx) in TaoSetConstraintsRoutine() 329 …outine(Tao tao, Vec ce, PetscErrorCode (*func)(Tao tao, Vec x, Vec ce, PetscCtx ctx), PetscCtx ctx) in TaoSetEqualityConstraintsRoutine() 366 …utine(Tao tao, Vec *ci, PetscErrorCode (**func)(Tao tao, Vec x, Vec ci, PetscCtx ctx), PetscCtxRt … in TaoGetEqualityConstraintsRoutine() 397 …outine(Tao tao, Vec ci, PetscErrorCode (*func)(Tao tao, Vec x, Vec ci, PetscCtx ctx), PetscCtx ctx) in TaoSetInequalityConstraintsRoutine() 434 …utine(Tao tao, Vec *ci, PetscErrorCode (**func)(Tao tao, Vec x, Vec ci, PetscCtx ctx), PetscCtxRt … in TaoGetInequalityConstraintsRoutine()
|
| H A D | taosolver_hj.c | 27 …t H, Mat Hpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx), PetscCtx ctx) in TaoSetHessian() 79 …*H, Mat *Hpre, PetscErrorCode (**func)(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx), PetscCtxRt … in TaoGetHessian() 449 …t J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianRoutine() 501 …t J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianResidualRoutine() 556 …inv, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, Mat Jinv, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianStateRoutine() 616 …nRoutine(Tao tao, Mat J, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianDesignRoutine() 762 …t J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianEqualityRoutine() 814 …*J, Mat *Jpre, PetscErrorCode (**func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtxRt … in TaoGetJacobianEqualityRoutine() 851 …t J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianInequalityRoutine() 903 …*J, Mat *Jpre, PetscErrorCode (**func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtxRt … in TaoGetJacobianInequalityRoutine()
|
| /petsc/src/sys/utils/ftn-custom/ |
| H A D | zsortsof.c | 17 int cmp_via_fortran(const void *a, const void *b, PetscCtx ctx) in cmp_via_fortran() 25 …, size_t *size, void (*cmp)(const void *, const void *, void *, int *), PetscCtx ctx, PetscErrorCo… in petsctimsort_() 31 … size_t *bsize, void (*cmp)(const void *, const void *, void *, int *), PetscCtx ctx, PetscErrorCo… in petsctimsortwitharray_()
|
| /petsc/src/sys/tests/linter/ |
| H A D | testValidFunctionDocStrings.c | 515 …t tao, double res, PetscErrorCode (*func)(int tao, double x, double f, PetscCtx ctx), PetscCtx ctx) in testFunctionParmsSameName() 545 … *tao, double res, PetscErrorCode (*func)(int tao, double x, double f, PetscCtx ctx), PetscCtx ctx) in testFunctionParmsSameNameInOut()
|
| /petsc/src/snes/tests/ |
| H A D | ex8.c | 149 …(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in constant() 161 …eal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in constantDer() 175 …(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in linear() 187 …eal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in linearDer() 205 …(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in quadratic() 224 …eal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in quadraticDer() 245 …(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in cubic() 264 …eal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in cubicDer() 285 …(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in quartic() 304 …eal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u, PetscCtx ctx) in quarticDer() [all …]
|