:orphan: # TaoLineSearchAppendOptionsPrefix Appends to the prefix used for searching for all `TaoLineSearch` options in the database. ## Synopsis ``` #include "petsctaolinesearch.h" PetscErrorCode TaoLineSearchAppendOptionsPrefix(TaoLineSearch ls, const char p[]) ``` Collective ## Input Parameters - ***ls -*** the `TaoLineSearch` solver context - ***prefix -*** the prefix string to prepend to all line search requests ## Notes A hyphen (-) must NOT be given at the beginning of the prefix name. The first character of all runtime options is AUTOMATICALLY the hyphen. This is inherited from the `Tao` object so rarely needs to be set ## See Also [](ch_tao), `Tao`, `TaoLineSearch`, `TaoLineSearchSetOptionsPrefix()`, `TaoLineSearchGetOptionsPrefix()` ## Level advanced ## 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)