TaoSetApplication
Sets the user defined context for use by the optimization solver. The application provides the solver with function and derivative information as well as data structures uses to store this information.
Synopsis
#include "tao_solver.h"
int TaoSetApplication(TAO_SOLVER tao, TaoApplication *myapp)
Collective on TAO_SOLVER
Input Parameters
| tao | - the TAO_SOLVER solver context
|
| taoapp | - user application context
|
Note
For PETSc users the TaoApplication* object is actually
TAO_APPLICATION structure.
Keywords
application, context
Level:advanced
Location:src/interface/tao_fghj.c
TAO Solver Index
Table of Contents
Examples
src/bound/examples/tutorials/plate2f.F.html
src/unconstrained/examples/tutorials/eptorsion2f.F.html
src/unconstrained/examples/tutorials/rosenbrock1f.F.html