petsc-3.10.5 2019-03-28
Report Typos and Errors

# TaoSetApplicationContext

Sets the optional user-defined context for a solver.

### Synopsis

    #include "petsctao.h"
    PetscErrorCode  TaoSetApplicationContext(Tao tao,void *usrP)

Logically Collective on Tao

### Input Parameters

| tao | - the Tao context
| usrP | - optional user context

### See Also

TaoGetApplicationContext(), TaoSetApplicationContext()

### Level

intermediate

### Location

src/tao/interface/taosolver.c
Index of all Tao routines
Table of Contents for all manual pages
Index of all manual pages