:orphan: # TaoGetApplicationContext Gets the user-defined context for a `Tao` solver ## Synopsis ``` #include "petsctao.h" PetscErrorCode TaoGetApplicationContext(Tao tao, void *usrP) ``` Not Collective ## Input Parameter - ***tao -*** the `Tao` context ## Output Parameter - ***usrP -*** user context ## See Also [](ch_tao), `Tao`, `TaoSetApplicationContext()` ## Level intermediate ## Location src/tao/interface/taosolver.c --- [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)