# TaoAppAddObject

add an object from to the Tao Application.

## Synopsis

    #include "tao.h"
    int TaoAppAddObject(TAO_APPLICATION taoapp, char *key, void *ctx, int *id)

Collective on TAO_APPLICATION

## Input Parameters

| taoapp | - the TAO_APPLICATION solver context
| key | - string used to ID this object
| ctx | - user-defined context for private data

## Output Paramter

id -ignored

## Note

This routine can be used to extend the functionality of this object

## Keywords

extensions

## See Also

TaoAppQueryForObject()

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