tao-2.1-p0 2012-07-24

TaoInitialize

Initializes the TAO component and many of the packages associated with it.

Synopsis

#include "taosolver.h" 
PetscErrorCode TaoInitialize(int *argc, char ***args, const char file[], 
                           const char help[])
Collective on MPI_COMM_WORLD

Input Parameters

argc - [optional] count of number of command line arguments
args - [optional] the command line arguments
file - [optional] PETSc database file, defaults to ~username/.petscrc (use PETSC_NULL for default)
help - [optional] Help message to print, use PETSC_NULL for no message

Note

TaoInitialize() should always be called near the beginning of your program. This routine will call PetscInitialize() if it has not yet been called.

See Also

TaoFinalize(), PetscInitialize()

Level:beginner
Location:src/interface/tao_init.c
TAO Solver Index
Table of Contents

Examples

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
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/leastsquares/examples/tutorials/chwirut1.c.html
src/leastsquares/examples/tutorials/chwirut2.c.html
src/leastsquares/examples/tutorials/chwirut1f.F.html
src/leastsquares/examples/tutorials/chwirut2f.F.html
src/pde_constrained/examples/tutorials/elliptic.c.html
src/pde_constrained/examples/tutorials/parabolic.c.html
src/pde_constrained/examples/tutorials/hyperbolic.c.html