![]() |
v0.15.0 |
Context for PETSc TAO, i.e. optimization solver. More...
Go to the source code of this file.
Classes | |
| struct | MoFEM::TaoCtx |
| Interface for TAO solvers. More... | |
Namespaces | |
| namespace | MoFEM |
| implementation of Data Operators for Forces and Sources | |
Functions | |
| PetscErrorCode | MoFEM::TaoSetObjective (Tao tao, Vec x, PetscReal *f, void *ctx) |
| Sets the objective function value for a TAO optimization context. | |
| PetscErrorCode | MoFEM::TaoSetGradient (Tao tao, Vec x, Vec g, void *ctx) |
| Sets the gradient vector for a TAO optimization context. | |
| PetscErrorCode | MoFEM::TaoSetObjectiveAndGradient (Tao tao, Vec x, PetscReal *f, Vec g, void *ctx) |
| Sets the objective function value and gradient for a TAO optimization solver. | |
| PetscErrorCode | MoFEM::TaoSetHessian (Tao tao, Vec x, Mat H, Mat Hpre, void *ctx) |
| Sets the Hessian matrix for a TAO optimization context. | |
Context for PETSc TAO, i.e. optimization solver.
Definition in file TaoCtx.hpp.