Home
last modified time | relevance | path

Searched defs:tao (Results 1 – 25 of 105) sorted by relevance

12345

/petsc/src/binding/petsc4py/src/lib-petsc/compat/
H A Dtao.h10 PetscErrorCode TaoSetLMVMMatrix(PETSC_UNUSED Tao tao,PETSC_UNUSED Mat mat) {PetscTaoError;} in TaoSetLMVMMatrix()
11 PetscErrorCode TaoGetLMVMMatrix(PETSC_UNUSED Tao tao,PETSC_UNUSED Mat *mat) {PetscTaoError;} in TaoGetLMVMMatrix()
13 PetscErrorCode TaoLMVMSetH0(PETSC_UNUSED Tao tao,PETSC_UNUSED Mat mat) {PetscTaoError;} in TaoLMVMSetH0()
14 PetscErrorCode TaoLMVMGetH0(PETSC_UNUSED Tao tao,PETSC_UNUSED Mat *mat) {PetscTaoError;} in TaoLMVMGetH0()
15 PetscErrorCode TaoLMVMGetH0KSP(PETSC_UNUSED Tao tao,PETSC_UNUSED KSP *ksp) {PetscTaoError;} in TaoLMVMGetH0KSP()
17 PetscErrorCode TaoBRGNGetSubsolver(PETSC_UNUSED Tao tao,PETSC_UNUSED Tao *subsolver) {PetscTaoError… in TaoBRGNGetSubsolver()
18 PetscErrorCode TaoBRGNSetRegularizerObjectiveAndGradientRoutine(PETSC_UNUSED Tao tao,PETSC_UNUSED P… in TaoBRGNSetRegularizerObjectiveAndGradientRoutine()
19 PetscErrorCode TaoBRGNSetRegularizerHessianRoutine(PETSC_UNUSED Tao tao,PETSC_UNUSED Mat H,PETSC_UN… in TaoBRGNSetRegularizerHessianRoutine()
20 PetscErrorCode TaoBRGNSetRegularizerWeight(PETSC_UNUSED Tao tao,PETSC_UNUSED PetscReal weight) {Pet… in TaoBRGNSetRegularizerWeight()
21 PetscErrorCode TaoBRGNSetL1SmoothEpsilon(PETSC_UNUSED Tao tao,PETSC_UNUSED PetscReal epsilon) {Pets… in TaoBRGNSetL1SmoothEpsilon()
[all …]
/petsc/src/tao/interface/
H A Dtaosolver_bounds.c17 PetscErrorCode TaoSetVariableBounds(Tao tao, Vec XL, Vec XU) in TaoSetVariableBounds()
56 PetscErrorCode TaoSetVariableBoundsRoutine(Tao tao, PetscErrorCode (*func)(Tao tao, Vec xl, Vec xu,… in TaoSetVariableBoundsRoutine()
82 PetscErrorCode TaoGetVariableBounds(Tao tao, Vec *XL, Vec *XU) in TaoGetVariableBounds()
104 PetscErrorCode TaoComputeVariableBounds(Tao tao) in TaoComputeVariableBounds()
136 PetscErrorCode TaoSetInequalityBounds(Tao tao, Vec IL, Vec IU) in TaoSetInequalityBounds()
168 PetscErrorCode TaoGetInequalityBounds(Tao tao, Vec *IL, Vec *IU) in TaoGetInequalityBounds()
194 PetscErrorCode TaoComputeConstraints(Tao tao, Vec X, Vec C) in TaoComputeConstraints()
230 PetscErrorCode TaoSetConstraintsRoutine(Tao tao, Vec c, PetscErrorCode (*func)(Tao tao, Vec x, Vec … in TaoSetConstraintsRoutine()
266 PetscErrorCode TaoComputeDualVariables(Tao tao, Vec DL, Vec DU) in TaoComputeDualVariables()
299 PetscErrorCode TaoGetDualVariables(Tao tao, Vec *DE, Vec *DI) in TaoGetDualVariables()
[all …]
H A Dtaosolver.c26 Tao tao = (Tao)ctx; in KSPPreSolve_TAOEW_Private() local
43 Tao tao = (Tao)ctx; in KSPPostSolve_TAOEW_Private() local
52 static PetscErrorCode TaoSetUpEW_Private(Tao tao) in TaoSetUpEW_Private()
89 PetscErrorCode TaoParametersInitialize(Tao tao) in TaoParametersInitialize()
124 Tao tao; in TaoCreate() local
158 PetscErrorCode TaoSolve(Tao tao) in TaoSolve()
227 PetscErrorCode TaoSetUp(Tao tao) in TaoSetUp()
251 PetscErrorCode TaoDestroy(Tao *tao) in TaoDestroy()
333 PetscErrorCode TaoKSPSetUseEW(Tao tao, PetscBool flag) in TaoKSPSetUseEW()
364 PetscErrorCode TaoMonitorSetFromOptions(Tao tao, const char name[], const char help[], const char m… in TaoMonitorSetFromOptions() argument
[all …]
H A Dtaosolver_fg.c16 PetscErrorCode TaoSetSolution(Tao tao, Vec x0) in TaoSetSolution()
27 PetscErrorCode TaoTestGradient(Tao tao, Vec x, Vec g1) in TaoTestGradient()
127 PetscErrorCode TaoComputeGradient(Tao tao, Vec X, Vec G) in TaoComputeGradient()
175 PetscErrorCode TaoComputeObjective(Tao tao, Vec X, PetscReal *f) in TaoComputeObjective()
224 PetscErrorCode TaoComputeObjectiveAndGradient(Tao tao, Vec X, PetscReal *f, Vec G) in TaoComputeObjectiveAndGradient()
279 PetscErrorCode TaoSetObjective(Tao tao, PetscErrorCode (*func)(Tao tao, Vec x, PetscReal *f, PetscC… in TaoSetObjective()
310 PetscErrorCode TaoGetObjective(Tao tao, PetscErrorCode (**func)(Tao tao, Vec x, PetscReal *f, Petsc… in TaoGetObjective()
341 PetscErrorCode TaoSetResidualRoutine(Tao tao, Vec res, PetscErrorCode (*func)(Tao tao, Vec x, Vec r… in TaoSetResidualRoutine()
377 PetscErrorCode TaoSetResidualWeights(Tao tao, Vec sigma_v, PetscInt n, PetscInt *rows, PetscInt *co… in TaoSetResidualWeights()
428 PetscErrorCode TaoComputeResidual(Tao tao, Vec X, Vec F) in TaoComputeResidual()
[all …]
H A Dtaosolver_hj.c27 PetscErrorCode TaoSetHessian(Tao tao, Mat H, Mat Hpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat H… in TaoSetHessian()
79 PetscErrorCode TaoGetHessian(Tao tao, Mat *H, Mat *Hpre, PetscErrorCode (**func)(Tao tao, Vec x, Ma… in TaoGetHessian()
90 PetscErrorCode TaoTestHessian(Tao tao) in TaoTestHessian()
250 PetscErrorCode TaoComputeHessian(Tao tao, Vec X, Mat H, Mat Hpre) in TaoComputeHessian()
295 PetscErrorCode TaoComputeJacobian(Tao tao, Vec X, Mat J, Mat Jpre) in TaoComputeJacobian()
336 PetscErrorCode TaoComputeResidualJacobian(Tao tao, Vec X, Mat J, Mat Jpre) in TaoComputeResidualJacobian()
374 PetscErrorCode TaoComputeJacobianState(Tao tao, Vec X, Mat J, Mat Jpre, Mat Jinv) in TaoComputeJacobianState()
410 PetscErrorCode TaoComputeJacobianDesign(Tao tao, Vec X, Mat J) in TaoComputeJacobianDesign()
449 PetscErrorCode TaoSetJacobianRoutine(Tao tao, Mat J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec … in TaoSetJacobianRoutine()
501 PetscErrorCode TaoSetJacobianResidualRoutine(Tao tao, Mat J, Mat Jpre, PetscErrorCode (*func)(Tao t… in TaoSetJacobianResidualRoutine()
[all …]
/petsc/src/tao/leastsquares/impls/brgn/
H A Dbrgn.c78 PetscErrorCode TaoBRGNGetDampingVector(Tao tao, Vec *d) in TaoBRGNGetDampingVector()
87 static PetscErrorCode TaoBRGNGetDampingVector_BRGN(Tao tao, Vec *d) in TaoBRGNGetDampingVector_BRGN()
97 static PetscErrorCode GNObjectiveGradientEval(Tao tao, Vec X, PetscReal *fcn, Vec G, void *ptr) in GNObjectiveGradientEval()
165 static PetscErrorCode GNComputeHessian(Tao tao, Vec X, Mat H, Mat Hpre, void *ptr) in GNComputeHessian()
221 static PetscErrorCode GNHookFunction(Tao tao, PetscInt iter, PetscCtx ctx) in GNHookFunction()
264 static PetscErrorCode TaoBRGNGetRegularizationType_BRGN(Tao tao, TaoBRGNRegularizationType *type) in TaoBRGNGetRegularizationType_BRGN()
288 PetscErrorCode TaoBRGNGetRegularizationType(Tao tao, TaoBRGNRegularizationType *type) in TaoBRGNGetRegularizationType()
297 static PetscErrorCode TaoBRGNSetRegularizationType_BRGN(Tao tao, TaoBRGNRegularizationType type) in TaoBRGNSetRegularizationType_BRGN()
319 PetscErrorCode TaoBRGNSetRegularizationType(Tao tao, TaoBRGNRegularizationType type) in TaoBRGNSetRegularizationType()
328 static PetscErrorCode TaoSolve_BRGN(Tao tao) in TaoSolve_BRGN()
[all …]
/petsc/src/tao/constrained/impls/almm/
H A Dalmmutils.c19 PetscErrorCode TaoALMMGetType(Tao tao, TaoALMMType *type) in TaoALMMGetType()
28 PetscErrorCode TaoALMMGetType_Private(Tao tao, TaoALMMType *type) in TaoALMMGetType_Private()
48 PetscErrorCode TaoALMMSetType(Tao tao, TaoALMMType type) in TaoALMMSetType()
56 PetscErrorCode TaoALMMSetType_Private(Tao tao, TaoALMMType type) in TaoALMMSetType_Private()
79 PetscErrorCode TaoALMMGetSubsolver(Tao tao, Tao *subsolver) in TaoALMMGetSubsolver()
88 PetscErrorCode TaoALMMGetSubsolver_Private(Tao tao, Tao *subsolver) in TaoALMMGetSubsolver_Private()
111 PetscErrorCode TaoALMMSetSubsolver(Tao tao, Tao subsolver) in TaoALMMSetSubsolver()
120 PetscErrorCode TaoALMMSetSubsolver_Private(Tao tao, Tao subsolver) in TaoALMMSetSubsolver_Private()
166 PetscErrorCode TaoALMMGetMultipliers(Tao tao, Vec *Y) in TaoALMMGetMultipliers()
175 PetscErrorCode TaoALMMGetMultipliers_Private(Tao tao, Vec *Y) in TaoALMMGetMultipliers_Private()
[all …]
H A Dalmm.c13 static PetscErrorCode TaoSolve_ALMM(Tao tao) in TaoSolve_ALMM()
121 static PetscErrorCode TaoView_ALMM(Tao tao, PetscViewer viewer) in TaoView_ALMM()
139 static PetscErrorCode TaoSetUp_ALMM(Tao tao) in TaoSetUp_ALMM()
323 static PetscErrorCode TaoDestroy_ALMM(Tao tao) in TaoDestroy_ALMM()
385 static PetscErrorCode TaoSetFromOptions_ALMM(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_ALMM()
460 PETSC_EXTERN PetscErrorCode TaoCreate_ALMM(Tao tao) in TaoCreate_ALMM()
519 static PetscErrorCode TaoALMMCombinePrimal_Private(Tao tao, Vec X, Vec S, Vec P) in TaoALMMCombinePrimal_Private()
535 static PetscErrorCode TaoALMMCombineDual_Private(Tao tao, Vec EQ, Vec IN, Vec Y) in TaoALMMCombineDual_Private()
555 static PetscErrorCode TaoALMMSplitPrimal_Private(Tao tao, Vec P, Vec X, Vec S) in TaoALMMSplitPrimal_Private()
572 static PetscErrorCode TaoALMMComputeOptimalityNorms_Private(Tao tao) in TaoALMMComputeOptimalityNorms_Private()
[all …]
/petsc/src/binding/petsc4py/test/
H A Dtest_tao_py.py9 def __call__(self, tao, x): argument
14 def __call__(self, tao, x, g): argument
28 def create(self, tao): argument
32 def destroy(self, tao): argument
36 def setFromOptions(self, tao): argument
39 def setUp(self, tao): argument
43 def solve(self, tao): argument
46 def step(self, tao, x, g, s): argument
52 def preStep(self, tao): argument
55 def postStep(self, tao): argument
[all …]
/petsc/src/tao/shell/
H A Dtaoshell.c26 PetscErrorCode TaoShellSetSolve(Tao tao, PetscErrorCode (*solve)(Tao)) in TaoShellSetSolve() argument
60 PetscErrorCode TaoShellGetContext(Tao tao, PetscCtxRt ctx) in TaoShellGetContext()
86 PetscErrorCode TaoShellSetContext(Tao tao, PetscCtx ctx) in TaoShellSetContext()
98 static PetscErrorCode TaoSolve_Shell(Tao tao) in TaoSolve_Shell()
109 static PetscErrorCode TaoDestroy_Shell(Tao tao) in TaoDestroy_Shell()
116 static PetscErrorCode TaoSetUp_Shell(Tao tao) in TaoSetUp_Shell()
122 static PetscErrorCode TaoSetFromOptions_Shell(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_Shell()
128 static PetscErrorCode TaoView_Shell(Tao tao, PetscViewer viewer) in TaoView_Shell()
141 PETSC_EXTERN PetscErrorCode TaoCreate_Shell(Tao tao) in TaoCreate_Shell()
/petsc/src/tao/constrained/impls/admm/
H A Dadmm.c27 static PetscErrorCode TaoADMMToleranceUpdate(Tao tao) in TaoADMMToleranceUpdate()
62 static PetscErrorCode AdaptiveADMMPenaltyUpdate(Tao tao) in AdaptiveADMMPenaltyUpdate()
114 static PetscErrorCode TaoADMMSetRegularizerType_ADMM(Tao tao, TaoADMMRegularizerType type) in TaoADMMSetRegularizerType_ADMM()
123 static PetscErrorCode TaoADMMGetRegularizerType_ADMM(Tao tao, TaoADMMRegularizerType *type) in TaoADMMGetRegularizerType_ADMM()
132 static PetscErrorCode TaoADMMSetUpdateType_ADMM(Tao tao, TaoADMMUpdateType type) in TaoADMMSetUpdateType_ADMM()
141 static PetscErrorCode TaoADMMGetUpdateType_ADMM(Tao tao, TaoADMMUpdateType *type) in TaoADMMGetUpdateType_ADMM()
152 static PetscErrorCode ADMMUpdateConstraintResidualVector(Tao tao, Vec x, Vec z, Vec Ax, Vec Bz, Vec… in ADMMUpdateConstraintResidualVector()
173 static PetscErrorCode SubObjGradUpdate(Tao tao, Vec x, PetscReal *f, Vec g, void *ptr) in SubObjGradUpdate()
202 static PetscErrorCode RegObjGradUpdate(Tao tao, Vec z, PetscReal *f, Vec g, void *ptr) in RegObjGradUpdate()
228 static PetscErrorCode ADMML1EpsilonNorm(Tao tao, Vec x, PetscReal eps, PetscReal *norm) in ADMML1EpsilonNorm()
[all …]
/petsc/include/
H A Dpetsctao_deprecations.h33 …utine()", ) static inline PetscErrorCode TaoSetSeparableObjectiveRoutine(Tao tao, Vec res, PetscEr… in TaoSetSeparableObjectiveRoutine() argument
37 …ights()", ) static inline PetscErrorCode TaoSetSeparableObjectiveWeights(Tao tao, Vec sigma_v, Pet… in TaoSetSeparableObjectiveWeights()
41 …puteResidual()", ) static inline PetscErrorCode TaoComputeSeparableObjective(Tao tao, Vec X, Vec F) in TaoComputeSeparableObjective()
45 …, 21, 0, "TaoMonitorSet()", ) static inline PetscErrorCode TaoSetMonitor(Tao tao, PetscErrorCode (… in TaoSetMonitor() argument
49 …_FUNCTION(3, 21, 0, "TaoMonitorCancel()", ) static inline PetscErrorCode TaoCancelMonitors(Tao tao) in TaoCancelMonitors()
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()
[all …]
/petsc/src/tao/bound/impls/blmvm/
H A Dblmvm.c5 static PetscErrorCode TaoSolve_BLMVM(Tao tao) in TaoSolve_BLMVM()
117 static PetscErrorCode TaoSetup_BLMVM(Tao tao) in TaoSetup_BLMVM()
136 static PetscErrorCode TaoDestroy_BLMVM(Tao tao) in TaoDestroy_BLMVM()
152 static PetscErrorCode TaoSetFromOptions_BLMVM(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_BLMVM()
169 static PetscErrorCode TaoView_BLMVM(Tao tao, PetscViewer viewer) in TaoView_BLMVM()
185 static PetscErrorCode TaoComputeDual_BLMVM(Tao tao, Vec DXL, Vec DXU) in TaoComputeDual_BLMVM()
218 PETSC_EXTERN PetscErrorCode TaoCreate_BLMVM(Tao tao) in TaoCreate_BLMVM()
264 PetscErrorCode TaoLMVMRecycle(Tao tao, PetscBool flg) in TaoLMVMRecycle()
294 PetscErrorCode TaoLMVMSetH0(Tao tao, Mat H0) in TaoLMVMSetH0()
328 PetscErrorCode TaoLMVMGetH0(Tao tao, Mat *H0) in TaoLMVMGetH0()
[all …]
/petsc/src/tao/snes/
H A Dtaosnes.c8 static PetscErrorCode TaoSolve_SNES(Tao tao) in TaoSolve_SNES()
23 static PetscErrorCode TaoDestroy_SNES(Tao tao) in TaoDestroy_SNES()
35 Tao tao = (Tao)ctx; in TAOSNESObj() local
44 Tao tao = (Tao)ctx; in TAOSNESFunc() local
53 Tao tao = (Tao)ctx; in TAOSNESJac() local
62 Tao tao = (Tao)ctx; in TAOSNESMonitor() local
74 static PetscErrorCode TaoSetUp_SNES(Tao tao) in TaoSetUp_SNES()
95 static PetscErrorCode TaoSetFromOptions_SNES(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_SNES()
104 static PetscErrorCode TaoView_SNES(Tao tao, PetscViewer viewer) in TaoView_SNES()
120 PETSC_EXTERN PetscErrorCode TaoCreate_SNES(Tao tao) in TaoCreate_SNES()
/petsc/src/tao/bound/impls/bqnk/
H A Dbqnk.c4 static PetscErrorCode TaoBQNKComputeHessian(Tao tao) in TaoBQNKComputeHessian()
47 static PetscErrorCode TaoBQNKComputeStep(Tao tao, PetscBool shift, KSPConvergedReason *ksp_reason, … in TaoBQNKComputeStep()
62 PetscErrorCode TaoSolve_BQNK(Tao tao) in TaoSolve_BQNK()
86 PetscErrorCode TaoSetUp_BQNK(Tao tao) in TaoSetUp_BQNK()
109 static PetscErrorCode TaoSetFromOptions_BQNK(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_BQNK()
126 static PetscErrorCode TaoView_BQNK(Tao tao, PetscViewer viewer) in TaoView_BQNK()
143 static PetscErrorCode TaoDestroy_BQNK(Tao tao) in TaoDestroy_BQNK()
157 PETSC_INTERN PetscErrorCode TaoCreate_BQNK(Tao tao) in TaoCreate_BQNK()
199 PetscErrorCode TaoGetLMVMMatrix(Tao tao, Mat *B) in TaoGetLMVMMatrix()
227 PetscErrorCode TaoSetLMVMMatrix(Tao tao, Mat B) in TaoSetLMVMMatrix()
/petsc/src/tao/bound/impls/tron/
H A Dtron.c6 static PetscErrorCode TaoDestroy_TRON(Tao tao) in TaoDestroy_TRON()
26 static PetscErrorCode TaoSetFromOptions_TRON(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_TRON()
39 static PetscErrorCode TaoView_TRON(Tao tao, PetscViewer viewer) in TaoView_TRON()
53 static PetscErrorCode TaoSetup_TRON(Tao tao) in TaoSetup_TRON()
68 static PetscErrorCode TaoSolve_TRON(Tao tao) in TaoSolve_TRON()
233 static PetscErrorCode TronGradientProjections(Tao tao, TAO_TRON *tron) in TronGradientProjections()
271 static PetscErrorCode TaoComputeDual_TRON(Tao tao, Vec DXL, Vec DXU) in TaoComputeDual_TRON()
304 PETSC_EXTERN PetscErrorCode TaoCreate_TRON(Tao tao) in TaoCreate_TRON()
/petsc/src/tao/quadratic/impls/bqpip/
H A Dbqpip.c10 static PetscErrorCode QPIPComputeResidual(TAO_BQPIP *qp, Tao tao) in QPIPComputeResidual()
34 static PetscErrorCode QPIPSetInitialPoint(TAO_BQPIP *qp, Tao tao) in QPIPSetInitialPoint()
173 static PetscErrorCode QPIPComputeStepDirection(TAO_BQPIP *qp, Tao tao) in QPIPComputeStepDirection()
199 static PetscErrorCode TaoSetup_BQPIP(Tao tao) in TaoSetup_BQPIP()
237 static PetscErrorCode TaoSolve_BQPIP(Tao tao) in TaoSolve_BQPIP()
449 static PetscErrorCode TaoView_BQPIP(Tao tao, PetscViewer viewer) in TaoView_BQPIP()
455 static PetscErrorCode TaoSetFromOptions_BQPIP(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_BQPIP()
467 static PetscErrorCode TaoDestroy_BQPIP(Tao tao) in TaoDestroy_BQPIP()
500 static PetscErrorCode TaoComputeDual_BQPIP(Tao tao, Vec DXL, Vec DXU) in TaoComputeDual_BQPIP()
525 PETSC_EXTERN PetscErrorCode TaoCreate_BQPIP(Tao tao) in TaoCreate_BQPIP()
/petsc/src/tao/bound/impls/bnk/
H A Dbnk.c11 static PetscErrorCode TaoBNKComputeSubHessian(Tao tao) in TaoBNKComputeSubHessian()
39 PetscErrorCode TaoBNKInitialize(Tao tao, PetscInt initType, PetscBool *needH) in TaoBNKInitialize()
279 PetscErrorCode TaoBNKComputeHessian(Tao tao) in TaoBNKComputeHessian()
295 PetscErrorCode TaoBNKEstimateActiveSet(Tao tao, PetscInt asType) in TaoBNKEstimateActiveSet()
344 PetscErrorCode TaoBNKBoundStep(Tao tao, PetscInt asType, Vec step) in TaoBNKBoundStep()
369 PetscErrorCode TaoBNKTakeCGSteps(Tao tao, PetscBool *terminate) in TaoBNKTakeCGSteps()
399 PetscErrorCode TaoBNKComputeStep(Tao tao, PetscBool shift, KSPConvergedReason *ksp_reason, PetscInt… in TaoBNKComputeStep()
523 PetscErrorCode TaoBNKRecomputePred(Tao tao, Vec S, PetscReal *prered) in TaoBNKRecomputePred()
557 PetscErrorCode TaoBNKSafeguardStep(Tao tao, KSPConvergedReason ksp_reason, PetscInt *stepType) in TaoBNKSafeguardStep()
690 PetscErrorCode TaoBNKPerformLineSearch(Tao tao, PetscInt *stepType, PetscReal *steplen, TaoLineSear… in TaoBNKPerformLineSearch()
[all …]
/petsc/src/tao/bound/impls/bncg/
H A Dbncg.c13 PetscErrorCode TaoBNCGEstimateActiveSet(Tao tao, PetscInt asType) in TaoBNCGEstimateActiveSet()
42 PetscErrorCode TaoBNCGBoundStep(Tao tao, PetscInt asType, Vec step) in TaoBNCGBoundStep()
60 static PetscErrorCode TaoSolve_BNCG(Tao tao) in TaoSolve_BNCG()
121 static PetscErrorCode TaoSetUp_BNCG(Tao tao) in TaoSetUp_BNCG()
146 static PetscErrorCode TaoDestroy_BNCG(Tao tao) in TaoDestroy_BNCG()
177 static PetscErrorCode TaoSetFromOptions_BNCG(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_BNCG()
229 static PetscErrorCode TaoView_BNCG(Tao tao, PetscViewer viewer) in TaoView_BNCG()
331 PETSC_EXTERN PetscErrorCode TaoCreate_BNCG(Tao tao) in TaoCreate_BNCG()
394 PetscErrorCode TaoBNCGResetUpdate(Tao tao, PetscReal gnormsq) in TaoBNCGResetUpdate()
413 PetscErrorCode TaoBNCGCheckDynamicRestart(Tao tao, PetscReal stepsize, PetscReal gd, PetscReal gd_o… in TaoBNCGCheckDynamicRestart()
[all …]
/petsc/src/tao/interface/ftn-custom/
H A Dztaosolverf.c72 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 static PetscErrorCode ourtaoobjectiveandgradientroutine(Tao tao, Vec x, PetscReal *f, Vec g, PetscC… 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 static PetscErrorCode ourtaojacobianstateroutine(Tao tao, Vec x, Mat H, Mat Hpre, Mat Hinv, PetscCt… 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/tao/quadratic/impls/gpcg/
H A Dgpcg.c7 static PetscErrorCode TaoDestroy_GPCG(Tao tao) in TaoDestroy_GPCG()
28 static PetscErrorCode TaoSetFromOptions_GPCG(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_GPCG()
42 static PetscErrorCode TaoView_GPCG(Tao tao, PetscViewer viewer) in TaoView_GPCG()
63 Tao tao = (Tao)tptr; in GPCGObjectiveAndGradient() local
76 static PetscErrorCode TaoSetup_GPCG(Tao tao) in TaoSetup_GPCG()
107 static PetscErrorCode TaoSolve_GPCG(Tao tao) in TaoSolve_GPCG()
218 static PetscErrorCode GPCGGradProjections(Tao tao) in GPCGGradProjections()
266 static PetscErrorCode TaoComputeDual_GPCG(Tao tao, Vec DXL, Vec DXU) in TaoComputeDual_GPCG()
294 PETSC_EXTERN PetscErrorCode TaoCreate_GPCG(Tao tao) in TaoCreate_GPCG()
/petsc/src/tao/unconstrained/impls/lmvm/
H A Dlmvm.c7 static PetscErrorCode TaoSolve_LMVM(Tao tao) in TaoSolve_LMVM()
141 static PetscErrorCode TaoSetUp_LMVM(Tao tao) in TaoSetUp_LMVM()
168 static PetscErrorCode TaoDestroy_LMVM(Tao tao) in TaoDestroy_LMVM()
184 static PetscErrorCode TaoSetFromOptions_LMVM(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_LMVM()
197 static PetscErrorCode TaoView_LMVM(Tao tao, PetscViewer viewer) in TaoView_LMVM()
239 PETSC_EXTERN PetscErrorCode TaoCreate_LMVM(Tao tao) in TaoCreate_LMVM()
/petsc/src/tao/complementarity/impls/asls/
H A Dasils.c41 static PetscErrorCode TaoSetUp_ASILS(Tao tao) in TaoSetUp_ASILS()
68 Tao tao = (Tao)ptr; in Tao_ASLS_FunctionGradient() local
86 static PetscErrorCode TaoDestroy_ASILS(Tao tao) in TaoDestroy_ASILS()
111 static PetscErrorCode TaoSolve_ASILS(Tao tao) in TaoSolve_ASILS()
275 PETSC_EXTERN PetscErrorCode TaoCreate_ASILS(Tao tao) in TaoCreate_ASILS()
H A Dasfls.c41 static PetscErrorCode TaoSetUp_ASFLS(Tao tao) in TaoSetUp_ASFLS()
68 Tao tao = (Tao)ptr; in Tao_ASLS_FunctionGradient() local
86 static PetscErrorCode TaoDestroy_ASFLS(Tao tao) in TaoDestroy_ASFLS()
111 static PetscErrorCode TaoSolve_ASFLS(Tao tao) in TaoSolve_ASFLS()
280 PETSC_EXTERN PetscErrorCode TaoCreate_ASFLS(Tao tao) in TaoCreate_ASFLS()
/petsc/src/tao/unconstrained/impls/cg/
H A Dtaocg.c13 static PetscErrorCode TaoSolve_CG(Tao tao) in TaoSolve_CG()
196 static PetscErrorCode TaoSetUp_CG(Tao tao) in TaoSetUp_CG()
208 static PetscErrorCode TaoDestroy_CG(Tao tao) in TaoDestroy_CG()
222 static PetscErrorCode TaoSetFromOptions_CG(Tao tao, PetscOptionItems PetscOptionsObject) in TaoSetFromOptions_CG()
237 static PetscErrorCode TaoView_CG(Tao tao, PetscViewer viewer) in TaoView_CG()
274 PETSC_EXTERN PetscErrorCode TaoCreate_CG(Tao tao) in TaoCreate_CG()

12345