# TaoAppDestroy

Destroy the PETSc application and all of the vectors and matrices associated with it.

## Synopsis

    #include "tao.h"
    int TaoAppDestroy(TAO_APPLICATION taoapp)

## Input Parameters

taoapp -the TaoApplication structure

## See Also

TaoApplicationCreate(), TaoDestroy()

## Keywords

Application, Destroy

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