:orphan:
# TaoViewFromOptions
View a `Tao` object based on values in the options database 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoViewFromOptions(Tao A, PetscObject obj, const char name[])
```
Collective


## Input Parameters

- ***A -*** the  `Tao` context
- ***obj -*** Optional object that provides the prefix for the options database
- ***name -*** command line option





## See Also
 [](ch_tao), `Tao`, `TaoView`, `PetscObjectViewFromOptions()`, `TaoCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/interface/taosolver.c.html#TaoViewFromOptions">src/tao/interface/taosolver.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/interface/taosolver.c)


[Index of all Tao routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
