TaoApplicationCreate

Creates a TaoApplication that uses PETSc data structures. The vectors used for gradient and other information can be a PETSc Vec. The routines for function evaluation, and derivative information can also used PETSc arguments.

Synopsis

#include "tao.h"  
int TaoApplicationCreate(MPI_Comm comm, TAO_APPLICATION* newapp)

Input Parameters

comm -an MPI communiicator

Output Parameters

newapp -the TaoApplication structure

See Also

TaoAppSetObjectiveAndGradientRoutine(), TaoSolveApplication(), TaoAppDestroy()

Keywords

Application

Level:beginner
Location:src/petsctao/application/petscapp/tao_app.c
TAO Solver Index
Table of Contents

Examples

src/bound/examples/tutorials/plate2.c.html
src/bound/examples/tutorials/jbearing2.c.html
src/bound/examples/tutorials/plate2f.F.html
src/complementarity/examples/tutorials/minsurf1.c.html
src/complementarity/examples/tutorials/blackscholes.c.html
src/unconstrained/examples/tutorials/eptorsion1.c.html
src/unconstrained/examples/tutorials/eptorsion2.c.html
src/unconstrained/examples/tutorials/minsurf2.c.html
src/unconstrained/examples/tutorials/rosenbrock1.c.html
src/unconstrained/examples/tutorials/eptorsion2f.F.html
src/unconstrained/examples/tutorials/rosenbrock1f.F.html