TaoAppSetDAApp

Extend the functionality of a TaoApplication by adding support for applications defined a PETSc Distributed Array (DA) object. The routines used to evaluate the objective function, constraint, and derivative information are designed specifically for these problems.

Synopsis

#include "taodaapplication.h" 
int TaoAppSetDAApp(TAO_APPLICATION daapplication, DA* tda, int nnda)

Input Parameters

daappliation - an existing application object
tda - an array of Distributed Array objects
nnda - the number of Distibuted Array objects

See Also

TaoDAAppSolve(), TaoApplicationCreate();

Keywords

Application, DA

Level:beginner
Location:src/petsctao/gridapplication/interface/daapp.c
TAO DA Application Index
Table of Contents

Examples

src/petsctao/gridapplication/examples/eptorsion3.c.html

Examples

src/petsctao/gridapplication/examples/jbearing3.c.html

Examples

src/petsctao/gridapplication/examples/minsurf3.c.html

Examples

src/petsctao/gridapplication/examples/combustion3.c.html