:orphan: # TaoBRGNGetSubsolver Get the pointer to the subsolver inside a `TAOBRGN` ## Synopsis ``` #include "petsctao.h" PetscErrorCode TaoBRGNGetSubsolver(Tao tao, Tao *subsolver) ``` Collective ## Input Parameters - ***tao -*** the Tao solver context - ***subsolver -*** the `Tao` sub-solver context ## See Also `Tao`, `Mat`, `TAOBRGN` ## Level advanced ## Location src/tao/leastsquares/impls/brgn/brgn.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/tao/leastsquares/impls/brgn/brgn.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)