:orphan: # TaoLineSearchViewFromOptions View a `TaoLineSearch` object based on values in the options database ## Synopsis ``` #include "petsctaolinesearch.h" PetscErrorCode TaoLineSearchViewFromOptions(TaoLineSearch A, PetscObject obj, const char name[]) ``` Collective ## Input Parameters - ***A -*** the `Tao` context - ***obj -*** Optional object - ***name -*** command line option ## Note See `PetscObjectViewFromOptions()` for available viewer options ## See Also [](ch_tao), `Tao`, `TaoLineSearch`, `TaoLineSearchView()`, `PetscObjectViewFromOptions()`, `TaoLineSearchCreate()` ## Level intermediate ## Location src/tao/linesearch/interface/taolinesearch.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/linesearch/interface/taolinesearch.c) [Index of all TaoLineSearch routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)